Filter phone numbers out of message
<p>I'd like to filter phone numbers out of the users message. The problem is ofcourse that a phone number can be written in different ways. Like:</p>

<p>0612345678
06 123 45 678
+31 (0)612345678
+31 (0)6 12 34 56 78</p>

<p>But I've got absolutely no clue how to do this and I'm pritty stuck. Can anyone help me a bit?</p>

<p>Thanks!</p>

<p>Edit:
In the meanwhile I came with this regular expression: "/(\d|\s){5,}/im". This filters every number of at least 5 characters and ignores the spaces. That way, all numbers from my previous example will be filtered.</p>
