Community Patterns

Community Library Entry

1

Regular Expression
Created·2024-10-08 15:02
Flavor·PCRE2 (PHP)

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

Description

VALIDATING IP V4 1.1.1.1 2.2.2.2 3.3.3.3 4.4.4.4 5.5.5.5 6.6.6.6 7.7.7.7 8.8.8.8 9.9.9.9 10.10.10.10

A single character of: a, b or c

Submitted by An0nym0us