title: How to remove all words matching a pattern, except certain words which I want to preserve?(they match the pattern)
body: <p>So I have a pattern I want to strip from a corpus of words, however there are certain words that match the pattern which I want to keep. I have a list of such words, and can remove all words matching the pattern. </p>
  
  <p>But, how do I keep the words in the list, and remove any others matching the pattern?</p>
  
  <p>Thank you.</p>