Possible Duplicate:
Phone number validation in PHP
Yes iam an Regular Expression newb (-:
This one validates an Phone Number in the format: +00 000 00000 but it should altough validate +000000000 without an space.
I have dont try & error, but without success (-:
$pattern = '((^\+[1-9][0-9]{0,2}(\s+[1-9][0-9]*)?\s+([0-9]+)$)|(^([0][0-9]*)?\s+([0-9]+)$))';