Regular Expressions 101

Community Patterns

Community Library Entry

18

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by tutsplus.com - 10 years ago