title: Extract DriveId from FileName for Validation Function
body: <p>I have the following string which is a input test string to a DriveId validation function:</p>
  
  <pre><code>Cvmv1234 + { }  m v:::: \ \ \ ///Documents And Settings/Owner/My Documents  
  </code></pre>
  
  <p>I only want the partial string: Cvmv1234 + { }  m v:::: \<br>
  The RegEx code is as follows:</p>
  
  <pre><code>DriveId = Regex.Match(Value, "\b.*:*[\/]{1}\b").ToString
  </code></pre>
  
  <p>I tried a number of modifications to the RegEx pattern but <em>I always get the entire input string</em>.  Please advise as to what I am doing wrong.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Jerry B</p>