title: How To Negate Regex
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/406230/regular-expression-to-match-string-not-containing-a-word">Regular expression to match string not containing a word?</a><br>
    <a href="https://stackoverflow.com/questions/1538512/how-can-i-invert-a-regular-expression-in-javascript">How can I invert a regular expression in JavaScript?</a>  </p>
  </blockquote>
  
  
  
  <p>Say I have the regex <code>foo123</code>. How do I match everything that is <strong>not</strong> <em>foo123</em>?</p>