Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(\d{1,3}\.){3}\d{1,3}\/\d{1,2}
/
gm

Description

Validate the structure of the IP address with suffix of red

Submitted by anonymous - 7 years ago