Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-08-14 06:57
Flavor·PCRE (Legacy)

/
^([[+91]{2,3})?([7-9][0-9]{9})$
/
gm
Open regex in editor

Description

this regex can accept only Indian mobile number that satisfy following +919876543212 919876543212 9876543212

this regex also test that number must be start with 9 or 8 or 7

Submitted by anonymous