Regular Expressions 101

Community Patterns

1

Regex 02

PCRE2 (PHP >=7.3)
regex replace
Submitted by anonymous - 2 months ago
1

7z l

PCRE2 (PHP >=7.3)
7z list
Submitted by anonymous - 2 months ago

HTML5 email validation

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$
/
mg

Description

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