title: python regex two words
body: <p>I have tones of string data and want to find all "iphone case" or "iPhone 6 case" or "iphone cases" in the string and delete by using regexp.</p>
  
  <pre><code>tweet=re.sub(r'iphone\s[case]+', 'DELETESENTENCE', tweet)
  tweet=re.sub(r'[iphone\s]+[0-6]+[\scase]+', 'DELETESENTENCE', tweet)
  </code></pre>
  
  <p>I used to the regexp above and later I kill all the text including <code>DELETESENTENCE</code>. </p>
  
  <p>But I just wonder more decent way of clearing text rather than killing individually or replacing the pattern individually </p>
  
  <p>for example I have  <code>lst=['iPhone case', 'iPhone battery', 'iPhone film']</code></p>
  
  <p>and <code>re(r'lst','DELETESENTENCE','tweet)</code>  &lt;== obviously this does not work.</p>