Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

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

Description

adresses mail

^[a-z0-9.-]+@[a-z0-9.-]{2,}.[a-z]{2,4}$

Submitted by anonymous - 6 years ago