Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
[a-zA-Z|.-_]*@[a-zA-Z]*.[a-zA-Z]{2,}
/
g

Description

Regexp for simple emails

Submitted by Vladislav Kim - 3 years ago