title: JavaScript Regex French Phone Number
body: <p>I try to define a regex in Javascript who can accept separators like spaces, points, double-points and dashes. My regex is working when there is no separators but when I add space or other separator, it's not working.</p>
  
  <p>I have to precise: this regex is for French phone number (0123456789 or 01.23.45.56.78 or 01 23 45 67 89,...). Also, this regex can accept "+33" who replaces the first "0".</p>
  
  <p>This is my regex </p>
  
  <pre><code>var regex = /^(0|\+33)[1-9]([-.: ]?[0-9]{2}){4}$/;
  </code></pre>
  
  <p>Can someone tell me what is wrong?</p>