Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
[\w\.]+@[a-zA-Z_]+?(\.[a-zA-Z]{2,6})+
/
g

Description

Simple email validation regexpr to handle subdomains and other stuff. See example

Submitted by anonymous - 7 years ago