Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^.{0,64}(@)(?=.+\..+).{0,255}$
/
g

Description

Basic email validation supporting IDN emails (töm@outlook.com), quoted characters (t\ om@outlook.com). Does not validate emails using quoted characters that are not escaped, so this exception should be handled by your mail service.

Submitted by TJ Walker - 7 years ago