Regular Expressions 101

Community Patterns

Community Library Entry

31

Regular Expression
ECMAScript (JavaScript)

/
^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$
/
i

Description

Email address, most used cases

Submitted by Jago - 9 years ago