title: C# Regular Expression excluding a string
body: <p>I got a collection of string and all i want for regex is to collect all started with http..</p>
  
  <blockquote>
    <p>href="http://www.test.com/cat/1-one_piece_episodes/"href="http://www.test.com/cat/2-movies_english_subbed/"href="http://www.test.com/cat/3-english_dubbed/"href="http://www.exclude.com"</p>
  </blockquote>
  
  <p>this is my regular expression pattern..</p>
  
  <pre><code>href="(.*?)[^#]"
  </code></pre>
  
  <p>and return this</p>
  
  <pre><code>href="http://www.test.com/cat/1-one_piece_episodes/"
  href="http://www.test.com/cat/2-movies_english_subbed/"
  href="http://www.xxxx.com/cat/3-english_dubbed/"
  href="http://www.exclude.com"
  </code></pre>
  
  <p>what is the pattern for excluding the last match.. or excluding matches that has the <strong>exclude</strong> domain inside like href="http://www.exclude.com"</p>
  
  <p><strong>EDIT:</strong>
  for multiple exclusion</p>
  
  <pre><code>href="((?:(?!"|\bexclude\b|\bxxxx\b).)*)[^#]"
  </code></pre>