Regular Expressions 101

Sponsors

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 - 8 years ago