Published
- 1 min read
regular expression for indian mobile number
The solution for this is noted below
regular expression for indian mobile number
Solution
Use the following regex
^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$
This will support the following formats:
8880344456
+918880344456
+91 8880344456
+91-8880344456
08880344456
918880344456
Try other methods by searching on the site. That is if this doesn’t work