Title |
Test
Find
Address/Phone
|
Expression |
^(\+{1}|00)\s{0,1}([0-9]{3}|[0-9]{2})\s{0,1}\-{0,1}\s{0,1}([0-9]{2}|[1-9]{1})\s{0,1}\-{0,1}\s{0,1}([0-9]{8}|[0-9]{7}) |
Description |
Gulf Area and Middle East Phone Number, must include the country code which consists of 2 or 3 digits and prefixed with '+' or '00', Area code consists of 1 or 2 digits and finally phone number consists of 7 or 8 digits, you can separate between different section using space or '-' |
Matches |
+966 50 43211234, 00 966 - 50-4321123, +20212345678 |
Non-Matches |
+ - 9665043214321, strings |
Author |
Rating:
Not yet rated.
tamer mahfouz
|
Source |
|
Your Rating |
|
Title: No spacer format
Name: ajmoe
Date: 3/13/2018 11:23:06 AM
Comment:
Hi,
can you make a no spacer format? for example 971581234567, 9665212345678
thanks