Regular Expressions 101

Library entries

Email Validation

Vote

1

Regular Expression
javascript

/
^[_A-Za-z0-9-]+(?:\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(?:\.[A-Za-z0-9-]+)*(?:\.[A-Za-z]{2,})$
/
gm

Description

Loading markdown...
Submitted by anonymous - 5 years ago