title: How to cut specified words from string
body: <p>There is a list of banned words ( or strings to be more general) and another list with let's say users mails. I would like to excise all banned words from all mails.</p>
  
  <p>Trivial example:</p>
  
  <pre><code>foreach(string word in wordsList)
  {
     foreach(string mail in mailList)
     {
        mail.Replace(word,String.Empty);
     }
  }
  </code></pre>
  
  <p>How I can improve this algorithm? </p>
  
  <hr>
  
  <p>Thanks for advices. I voted few answers up but I didn't mark any as answer since it was more like discussion than solution.  Some people missed banned words with bad words. In my case I don't have to bother about recognize 'sh1t' or something like that.</p>