Regular Expressions 101

Library entries

Email validation

Vote

18

Regular Expression
pcre

/
^([a-z0-9_\.-]+\@[\da-z\.-]+\.[a-z\.]{2,6})$
/
gm

Description

Loading markdown...
Submitted by tutsplus.com - 7 years ago