Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-05-25 05:08
Flavor·ECMAScript (JavaScript)

/
^(\d{1,3}[-\s]?|)\d{3}[-\s]?\d{3}[-\s]?\d{4}$
/
Open regex in editor

Description

It accepts the mobile no with space upto 13 digits with country code but without + symbol. following are examples 1.9959966566 2.919959966566 3.91 995 996 6566 4.995 996 6566 5.91 9959966566

Submitted by Pravallika Chowdary