Title |
Test
Find
Pattern Title
|
Expression |
^(\+[1-9][0-9]*(\([0-9]*\)|-[0-9]*-))?[0]?[1-9][0-9\- ]*$ |
Description |
International phone number check - optional country code followed by area code surrounded with '-' or '(' and ')', or just an area code optionally starting with 0, followed by phone numder. The number itself may contain spaces and '-' |
Matches |
+123(45)678-910 | +123-045-67 89 10 | 01-234-56-78 |
Non-Matches |
123(45)678 91011 | (12)345-678 | +0(12)345-6789 |
Author |
Rating:
Not yet rated.
Dmitry Kandiner
|
Source |
Remastered expression from this site. Original expression by James Burton (http://regexlib.com/REDetails.aspx?regexp_id=73) |
Your Rating |
|
Title: Does not work
Name: Jummy Edlis
Date: 1/11/2010 11:33:39 AM
Comment:
Does not accept most international phone numbers ex +49-2241-4911230
Title: Cool
Name: Uky
Date: 7/17/2003 12:47:23 AM
Comment:
Great
Thank you very much