title: ereg_replace to preg_replace (English Phone Numbers)
body: <p>Regex seems to be my kryptonite.</p>
  
  <p>How do I convert:</p>
  
  <pre><code>ereg_replace('[^0-9]+','',str_replace("+", "00", $number))
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>preg([something])
  </code></pre>
  
  <p>Coming from: <a href="http://james.cridland.net/code/format_uk_phonenumbers.html" rel="nofollow">http://james.cridland.net/code/format_uk_phonenumbers.html</a>
  Id tried changing the first parameter to <code>/[^0-9]+</code> and `/[^0-9]+/, as well as both of those sans-quotes, but none worked.  I'm afraid I'm a regex newbie.</p>