Skip to content

Instantly share code, notes, and snippets.

@arkiver
Last active December 14, 2015 09:09
Show Gist options
  • Save arkiver/5063175 to your computer and use it in GitHub Desktop.
Save arkiver/5063175 to your computer and use it in GitHub Desktop.
Regex for JS validation of Indian mobile number (without country code prefixed)
/^[0]?[789]\d{9}$/
Matches
09878767656
or
9878767656
or
7898987656
or
8888888888
or
9999999999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment