Regular Expressions 101

Community Patterns

Email validator for multiple email service providers

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^[a-z]([a-z]|[0-9])+[@](gmail\.com|outlook\.com|hotmail\.com)$
/
gm

Description

It is for checking the validity of the submitted email.

Submitted by anonymous - 2 years ago