title: PHP preg_replace three times with three different patterns? right or wrong?
body: <p>A simple question: Is this the best way to do it?</p>
  
  <pre><code>$pattern1 = "regexp1";
  $pattern2 = "regexp2";
  $pattern3 = "regexp3";
  
  $content = preg_replace($pattern1, '', $content);
  $content = preg_replace($pattern2, '', $content);
  $content = preg_replace($pattern3, '', $content);
  </code></pre>
  
  <p>I have three search-patterns I want to filter out! Is my code above appropriate or is there a better way?</p>