title: Regex to match all characters except letters and numbers
body: <p>I want to clean the filenames of all uploaded files. I want to remove all characters except periods, letters and numbers. I'm not good with regex so I thought I would ask here.</p>
  <p>Can someone show me how to put this together? I'm using PHP.</p>