Regular Expressions 101

Community Patterns

Email address (most used)

31

Regular Expression
ECMAScript (JavaScript)

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

Description

Loading markdown...
Submitted by Jago - 9 years ago