Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(^\+[0-9]{9,15}$)|(^.+@.+\..+$)
/
i

Description

True if user input mobile phone or email

Submitted by jiller - 10 years ago