Regular Expressions 101

Community Patterns

123...6

IP V4 with leading zero values

0

Regular Expression
PCRE (PHP <7.3)

/
\b(0*(25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(0*(25[0-5]|2[0-4]\d|[01]?\d\d?))\b
/
gm

Description

no description available

Submitted by shA.t - 9 years ago