Regular Expressions 101

Community Patterns

Search IP

1

Regular Expression
PCRE (PHP <7.3)

/
[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}
/

Description

This regex searches for an IP

Submitted by dkon - 8 years ago