C# stripping out the string needed
<p>Ok so i have these strings </p>

<pre><code> location = "C:\\Users\\John\\Desktop\\399";
 location = "C:\\Users\\John\\Desktop\\399\\DISK1";
 location = "C:\\Users\\John\\Desktop\\399\\DISK2";
 location = "\\somewhere\\on\\Network\\399\\DISK2";
</code></pre>

<p>how do i strip out the 399 from all these situations ....FYI the number might be 2 digits like 42 so i cant grab the last 3 in the first case....i was thinking of some regex that would take out the DISKn if it exists and grab the number till the \ before the number but i dont know how to do that in C#...any ideas</p>
