Regular Expressions 101

Community Patterns

1

SUT - Package Matching

PCRE2 (PHP >=7.3)
test
Submitted by MHE - 17 days ago
1

Files

PCRE2 (PHP >=7.3)
Files
Submitted by anonymous - a month ago
1

Folders

PCRE2 (PHP >=7.3)
Folders
Submitted by anonymous - a month ago

Match RFC1918 And Localhost

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?:(?:10\.\d{1,3}\.\d{1,3}\.\d{1,3}|172\.(?:(?:1[6-9])|(?:2[0-9])|(?:3[0-1]))\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3}|127\.\d{1,3}\.\d{1,3}\.\d{1,3})(?::\d{1,5})?)$
/
gm

Description

Loading markdown...
Submitted by nck - 3 months ago