Regular Expressions 101

Community Patterns

Community Library Entry

11

Regular Expression
PCRE (PHP <7.3)

/
^(?:(?:25[0-5]|2[0-4]\d|1?\d{1,2})(?:\.(?!$)|$)){4}$
/
gm

Description

no description available

Submitted by anonymous - 4 years ago (Last modified a year ago)