Regular Expressions 101

Community Patterns

Email

1

Regular Expression
PCRE (PHP <7.3)

/
^(([a-zA-Z]|[0-9])|([-]|[_]|[.]))+[@](([a-zA-Z]|[0-9])|([-]|[_]|[.]))+$
/
gm

Description

Find a bunch of different types of email with this RegEx

Submitted by anonymous - 8 years ago