Regular Expressions 101

Community Patterns

1...56789...587

Match Email

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\w+@\w+\.\w+
/
gm

Description

Matches email.

Submitted by cool66 - a year ago