Mobile Number Validations
Hi,
I have textbox for Mobile number. I would like to put validations through regual expression.
There are three condiotions for valid mobile number
1) It must have numberic character only like 1,2,3----9
2)It must be of 10 digits like 9835198351,9234302220
3) It must start with 7 or 8 or 9.
example of valid mobile numbers
9835198351,
9234302220
7435162533
7000000000
9999999999
8835127139
Ivalid Phone nubers
6835198351,
5234302220
3435162533
2000000000
1999999999
4835127139
I have searched a regular expression for this ^[0-9]{10}
But it fulfulling first both condition but it do not validates
3rd condition.
Please reply soon.
|