Validate Indian Mobile Number
Hi , Now i am going to discuss about how to validate a Indian Mobile Number.
First the Mobile Number field should not be null so for that - Add RequiredFieldValidator.
It should not accept any Aplhabets , or any special characters for this you have to write RegularExpression Validator to Accept only Numbers
EX:
Regex: \d+
Atlast i have to check whether user entered Number is 10 digit or not and also it should be valid Mobile Number
This Regex which first digit should be 9 then followed by 9 digits and totally it accept only 10 digits.
Read more »