Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

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

Description

IPv4 Address Input

Submitted by anonymous - 8 years ago