Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-03-08 17:15
Flavor·PCRE2 (PHP)

/
\b(?:(?:0?[0-9]?[0-9]|1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.??\b){4}
/
gm
Open regex in editor

Description

Matches on whole IP addresses

Submitted by Jon Stinnett