Regular Expressions 101

Community Patterns

1

loyal

PCRE2 (PHP >=7.3)
loyal
Submitted by anonymous - 3 days ago
1

named capture

PCRE2 (PHP >=7.3)
simple named capture
Submitted by Gene - 4 days ago

Email regex validation

12

Regular Expression
ECMAScript (JavaScript)

/
^((?!\.)[\w\-_.]*[^.])(@\w+)(\.\w+(\.\w+)?[^.\W])$
/
gm

Description

Loading markdown...
Submitted by https://www.linkedin.com/in/peralta-steve-atileon/ - 5 years ago
(Last modified 7 months ago)