Title |
Test
Find
Pakistan Cell Number
|
Expression |
^[+]\d{2}?[- .]?(\([2-9]\d{2}\)|[2-9]\d{2})[- .]?\d{3}[- .]?\d{4}$ |
Description |
I made it because, user must be enter number in standard form, so if you want to use it for sms in future, you will found it very useful, Please Rate! |
Matches |
+923218908601 |
Non-Matches |
00923218908601 | 03218908601 | 0321-8908601 |
Author |
Rating:
Mustafa Iqbal
|
Source |
|
Your Rating |
|
Title: poor regex
Name: Rai Talha Rehman Khan
Date: 7/23/2019 9:57:23 AM
Comment:
accepting non Pakistani code
like
+00[some]218908601
+0[any]3218908601
+[any]03218908601
Title: poor regex
Name: Rai Talha Rehman Khan
Date: 7/23/2019 9:28:30 AM
Comment:
accepting non Pakistani code
like
+00[some]218908601
+0[any]3218908601
+[any]03218908601