title: Remove entire line if it does not contain a phrase
body: <p>I have string that looks like the following, and I would like to go through and delete lines that don't contain the tags _JJ or _NN.</p>
  
  <p>input:</p>
  
  <pre><code>Hello_NN
  and_CC
  Happy_JJ
  Birthday_NN
  to_TO
  me_NN
  !_!
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>Hello_NN
  Happy_JJ
  Birthday_NN
  me_NN
  </code></pre>