Regular Expressions 101

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^([0-9]{1,3}\.){3}[0-9]{1,3}$
/

Description

Match IP Address in PHP

Submitted by anonymous - 9 years ago