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
7

rsyslog test

PCRE (PHP <7.3)
global modifier
Submitted by dtmland - 9 years ago
23

userName

PCRE (PHP <7.3)
1-15 alphanumeric login name
Submitted by gsanchezc - 8 years ago

domain name with subdomains

0

Regular Expression
PCRE (PHP <7.3)

~
^[\p{N}\p{L}\-+\.]{1,500}\.[\p{N}\p{L}][\p{L}-]*[\p{N}\p{L}]+$
~
ugm

Description

Loading markdown...
Submitted by Igor Tiulkanov - 5 months ago