Regular Expressions 101

Community Patterns

0

PLP redirection

PCRE2 (PHP >=7.3)
PLP redirection
Submitted by anonymous - 7 days ago
1

loyal

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

named capture

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

IDN Domains and Subdomains

2

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?:[^:\/?#]+:)?(?:(?:\/\/)?(?:[^\s\/?#]+\.)+[^\s\/?#]+(?:\/[^\s"#]*)?)$
/
gm

Description

Loading markdown...
Submitted by NCK - 7 months ago