Title |
Test
Find
Indian Telephone Number Format
|
Expression |
^((\+){1}[1-9]{1}[0-9]{0,1}[0-9]{0,1}(\s){1}[\(]{1}[1-9]{1}[0-9]{1,5}[\)]{1}[\s]{1})[1-9]{1}[0-9]{4,9}$ |
Description |
This is a bit strict validation format for a telephone number. It has been tested and used on live server and it works fine without any error. +91 indicates ISD code for India. Numbers inside brackets() indicates STD code and at last the is the phone number. It works with all the indian STD codes and phone numbers existing till date. |
Matches |
+91 (22) 24440444 |
Non-Matches |
+91(22)21312321 |
Author |
Rating:
Sandeep Kumtakar
|
Source |
Well this has been developed by me after seeing many codes on this site and i will give credit to all the people who have hosted these valuable patter |
Your Rating |
|
Title: Thanks
Name: Prashant
Date: 8/31/2007 5:27:44 AM
Comment:
Thanks a lot, It saved me from lot of pain.
It works for Indian Phone number as well as existing mobile numbers in India
Thanks