title: preg_match and remove multiple characters in string?
body: <p>Hi I'm using php to program my site and I've been reading loads about preg_match and trying lots of examples. What I'm trying to do is something like below...</p>
  
  <pre><code> if(preg_match('These characters'), $myVariable, matches)){
  
        Find and remove found characters from $myVariable;
  
   }
  </code></pre>
  
  <p>I'm pretty sure this is obvious to php experts but it's had me stuck after hours of trying and reading.</p>
  
  <p>Thanks in advance </p>