title: how to make preg_replace for accented characters
body: <p>I'm trying to replace some accented characters in php. First of all, i'm using <code>preg_match</code> to detect this kind (and it's working) of characters then <code>preg_replace</code> to replace them by an other one. In my case, I'm trying to replace <code>/[é]|[è]/</code> by <code>'e'</code>. </p>
  
  <pre><code> if(preg_match('/[é]|[è]/',$adress)){
          preg_replace('/[é]|[è]/','e',$adress);
   }
  </code></pre>
  
  <p>So any alternatives or other solutions.</p>