Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\w+[@]+\w+[.]+[a-z]\w+
/
mgi

Description

This is used for simple email validation

Submitted by Pritesh - 2 years ago