title: check telephone number goes wrong
body: <p>i use this to check if there is a 06 number in the string. the 06 number is always 10 numbers.</p>
  <pre><code>$string = &quot;This is Henk 0612345678&quot;;
  
  $number = preg_replace('/[^0-9.]+/', '', $string);
  
  echo $number;
  </code></pre>
  <p>This is working good, but when the string is</p>
  <pre><code>$string = &quot;This is 12Henk 0612345678&quot;;
  </code></pre>
  <p>The number is 120612345678
  I dont want the 12 into it, but 12 is not always the same in the string.
  How can i check only for a 10 digits number ?</p>
  <p>Thanks</p>