Regular Expressions 101

IP Addresses

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
(((1[0-9]{2})|(2[0-5]{2})|[0-9]{1,2})\.){3}(((1[0-9]{2})|(2[0-5]{2})|[0-9]{1,2}))
/
g

Description

Matches IP Addresses with minimum false positives

Submitted by Austin-Hanson