title: How can I strip commas and periods from a string?
body: <p>I have string containing something like this:</p>
  
  <pre class="lang-php prettyprint-override"><code>"Favourite bands: coldplay, guns &amp; roses, etc.,"
  </code></pre>
  
  <p>How can I remove commas and periods using <code>preg_replace</code>?</p>