title: Multi level .Net Regex
body: <p>If I have input string in C#, how can I do series of Regex / linq operations on it to do Regex match on one piece of string and then another Regex on all pieces of string which are not matched by 1st Regex.</p>
  
  <p>In other words, for input string:</p>
  
  <pre><code>&lt;!-- Lorem ipsum dolor sit amet, consectetur adipiscing elit --&gt;  
  &lt;!-- The quick brown fox jumps over the lazy dog --&gt;
  Lorem ipsum dolor sit amet, consectetur adipiscing elit 
  The quick brown fox jumps over the lazy  dog
  &lt;!-- Lorem ipsum dolor sit amet, consectetur adipiscing elit --&gt;  
  &lt;!-- The quick brown fox jumps over the lazy dog --&gt;
  Lorem ipsum dolor sit amet, consectetur adipiscing elit
  The quick brown fox jumps over the lazy dog
  </code></pre>
  
  <p>I want to use Regex1 to match lines with <code>&lt;!-- --&gt;</code> and do certain operation on them without parsing them further. And to have Regex2 to match things in pieces of string not matched with Regex1, for example to find all words "fox" and "dog" in those lines and do certain operations on those words.</p>
  
  <p>What is the best way to combine Regex/linq operations in situation like this? </p>