Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-12-11 05:48
Flavor·PCRE (Legacy)

/
^(\+91|\+91\-|0)?[789]\d{9}$
/
Open regex in editor

Description

All indian mobile phone numbers are till now are in the format of +91-(789)(9-digits) or +91(789)(9-digits) or 0(789)(9-digits). those numbers which are come into this category is valid with this RegEx.

Submitted by N shoban babu