title: Regex: Not in a List - Python
body: <p>Is there a way that I could include into my expression the ability for me to check if the item isn't in a list.</p>
  
  <p>I have the Situation where I have a list of words:</p>
  
  <pre><code>listA = ["Abc","Def","etc"]
  </code></pre>
  
  <p>What I want to do is to perform the match where it matched the Regular Expression, but the match didn't contain any of the words given in the list?</p>
  
  <p>I can do this without regular expressions, but wondering if there was an inbuilt way in Python to do this.</p>
  
  <p>For example: </p>
  
  <pre><code>names = ["David","John","Bob"]
  x = "From John@email.com Sat Jan 5 09:14:16 2008"
  
  y = re.findall([NOT in Names]+'\S+@\S+',x)
  </code></pre>
  
  <p>The expected output will should be an empty list.  (because it contains John)
  If the email above was <code>will@email.com</code> then I would like the output to be </p>
  
  <pre><code>['will@email.com']
  </code></pre>