/ Published in: PHP
URL: http://www.thejwalker.com
A simple method of validating a telephone number using regular expressions and PHP
Expand |
Embed | Plain Text
$string = "(232) 555-5555"; echo "example 2 successful."; }
Comments
Subscribe to comments
You need to login to post a comment.

Corrected the regex with more accuracy for validating a phone/mobile number