Regular Expressions 101

Community Patterns

1

ytr

ECMAScript (JavaScript)
ytr
Submitted by ytr - 10 years ago

email

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+([;.](([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+)*$
/
gm

Description

Loading markdown...
Submitted by anonymous - 5 months ago