Indian Mobile number regular expression
November 25th, 2008
I am currently working on site named vpay. I am not going to write about vpay here as vpay does not have anything to do with Programming.
One of the requirement was to validate a mobile number and that too it has to be a vlid indian mobile number. A quick google search led me to this
^([9]{1})([234789]{1})([0-9]{8})$
If you are still searching for a regular expression to validate indian mobile number, now you know where to come!
.jpg)
As per new numbers this is changed to
^([8-9]{1})([234789]{1})([0-9]{8})$
Thanks buddy,
for your kind help. I hav sort out my problem
Hi
Now we have 7 series mobile no also. Why don’t you use a simple code
^([7-9]{1})([0-9]{9})$
Where are you using these codes.