Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-06-18 11:02
Flavor·ECMAScript (JavaScript)

/
^([\w\-\.]+)@((?:[\w\.]+)(?:\.[a-zA-Z]{2,3}))$
/
Open regex in editor

Description

Matches email with groups for username and domain.

Submitted by anonymous