Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?:(?:\+|0{0,2})(91)(\s*|[\\-])?|[0]?)?([6789]\d{2}([ -]?)\d{3}([ -]?)\d{4})$
/
gm

Description

validate India Mobile Phone RegEx

Submitted by anonymous - 5 years ago