Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
/
gm

Description

Supposedly 99.99% effective way to capture most potentially-valid email addresses in .NET syntax.

Submitted by anonymous - 4 years ago