Regular Expressions 101

Community Library Entry

4

Regular Expression
PCRE2 (PHP >=7.3)

/
(^[a-zA-Z0-9_.]+[@]{1}[a-z0-9]+[\.][a-z]+$)
/
mg

Description

email format control

Submitted by ahmetbarut - 3 years ago