Regular Expressions 101

Community Patterns

4

CloudFlare

PCRE2 (PHP >=7.3)
Cloud Flare
Submitted by anonymous - 2 years ago
4

Email

PCRE2 (PHP >=7.3)
email format control
Submitted by ahmetbarut - 2 years ago
3

example

PCRE2 (PHP >=7.3)
example
Submitted by anonymous - 2 years ago

IDN Domains and Subdomains

2

Regular Expression
PCRE2 (PHP >=7.3)

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

Description

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