Regular Expressions 101

Community Patterns

Email Regex

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^\w+([\.-]?\w+)+@[\w.-]+([\.-]?\w+)(\.\w{2,3})+$
/

Description

A well equiped regex

Submitted by anonymous - a year ago