Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(^\+447|07|00447)\d{9}$
/
g

Description

Check for varied prefixes, followed by a suffix of exactly 9 digits

Submitted by anonymous - 2 years ago