title: Matching multiple lines up until a sepertor line?
body: <p>Learning myself some Regex, while trying to parse a datasheet, and I'm thinking there's not an easy way (in Regex, I mean.. in C#, sure!) to do this. Say I have a file with the lines:</p>
  
  <pre><code>0000AA  One Token    -  Value
  0000AA  Another Token-  Another Value
  0000AA  YA Token     -  Yet Another
  0000AA  Yes, Another -  Even More
  0000AA
  0000AA  ______________________________________________________________________
  0000AA  This line - while it will match the regex, shouldn't.
  </code></pre>
  
  <p>So I have an easy multi-line regex:
      <code>^\s*[A-Z]{2}[0-9]{4}\s\s*(?&lt;token&gt;.*?)\-(?&lt;value&gt;.*?)$</code>
  This loads All the 'Tokens' into 'token', and all the values into 'value' group. Pretty simple! However, the Regex ALSO matches the bottom line, putting 'This line' into the token, and 'while it will [...]' into the value. </p>
  
  <p>Essentially, I'd like the regex to only match the lines above the <code>____</code> separator line. Would this be possible with Regex alone, or will I need to modify my incoming string first to .Split() on the <code>____</code> separator line?</p>
  
  <p>Cheers all -<br />-Mike.</p>