Regular Expressions 101

Community Library Entry

15

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by robwa - 9 years ago