Regular Expressions 101

Community Patterns

0

Url handling

Python
Simple regex to split url
Submitted by Hangfish - a year ago
0

find between

PCRE (PHP <7.3)
find between
Submitted by anonymous - a year ago
0

lua_pattern

Python
lua file name
Submitted by anonymous - a year ago
0

phone number matcher

Java 8
phone number matcher
Submitted by anonymous - a year ago
0

css class

PCRE (PHP <7.3)
css class
Submitted by anonymous - a year ago
0

提取js中的内容

Python
获取变量值等
Submitted by anonymous - a year ago
0

Procurar por IPv4

Python
Match em um IPv4 válido
Submitted by anonymous - a year ago
0

TCN Match

Python
Extract info about STP TCNs
Submitted by anonymous - a year ago

Publicly addressable IP addresses, excluding private ranges.

0

Regular Expression
PCRE (PHP <7.3)

/
^(?!(192\.168\.))^(?!(172\.(1[6-9]|2[0-9]|3[0-1])\.))^((([1-9]|1[1-9]|[2-9][0-9]|1[0-9]{2}|2[0-1][0-9]|22[0-3])\.)((0|1[0-9]{0,2}|[2-9][0-9]|2[0-4][0-9]|25[0-5])\.){2}(1[0-9]{0,2}|[2-9][0-9]|2[0-4][0-9]|25[0-4]))$
/
gm

Description

Loading markdown...
Submitted by Schvenn - 8 years ago