Regular Expressions 101

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$
/

Description

It validates an email address with alias

Submitted by anonymous - 8 years ago