Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
([\w.-]+@([\w-]+)\.+\w{2,})
/

Description

match email address, with groups for entire email and domain.com

Submitted by anonymous - 9 years ago