Regular Expressions 101

Community Patterns

1

[sample]

PCRE2 (PHP >=7.3)
sample regular expression
Submitted by anonymous - an hour ago
1

email

PCRE2 (PHP >=7.3)
list of email
Submitted by anonymous - a day ago
1

match "baseip/cidr"

PCRE2 (PHP >=7.3)
match "baseip/cidr"
Submitted by Erik - 5 days ago

strip host port

0

Regular Expression
PCRE (PHP <7.3)

/
^(.*):\/\/(.*)(:\d+)\/(.*)$
/
gm

Description

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