chekit
7/30/2015 - 10:28 AM

RegExp for checkin' phone number

RegExp for checkin' phone number

/^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$/

I haveused that pattern on my project for Tele2Music

From: http://regexlib.com/REDetails.aspx?regexp_id=73

/^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]{11}$/

Checks if there is exectly 11 digits in a number