Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?<First>25[0-5]|2[04]\d|[0-1]\d{2}|\d{1,2})\.
/
gmix

Description

Matches a string of digits between 0 and 255.

Submitted by anonymous - 5 years ago