Regular Expressions 101

Community Patterns

ip and mask x.x.x.x/y

0

Regular Expression
PCRE (PHP <7.3)

/
([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])){3}\/\d+
/
g

Description

no description available

Submitted by anonymous - 7 years ago