title: RegExp: want to find all links that do not end in ".html"
body: <p>I'm a relative novice to regular expressions (although I've used them many times successfully).
  I want to find all links in a document that do not end in ".html"
  The regular expression I came up with is:</p>
  
  <pre><code>href=\"([^"]*)(?&lt;!html)\"
  </code></pre>
  
  <p>In Notepad++, my editor, <code>href=\"([^"]*)\"</code> finds all the links (both those that end in "html" and those that do not).
  Why doesn't negative lookbehind work?</p>
  
  <p>I've also tried lookahead:</p>
  
  <pre><code>href=\"[^"]*(?!html\")
  </code></pre>
  
  <p>but that didn't work either.</p>
  
  <p>Can anybody help?</p>
  
  <p>Cheers, grovel</p>