Regular Expressions 101

Community Patterns

1

html <Title>

Java 8
htnle
Submitted by erichologist - 7 months ago

IPv4 input field validator

0

Regular Expression
PCRE (PHP <7.3)

/
^(?>(?>25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.){0,3}(?>25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])?$
/
gm

Description

Loading markdown...
Submitted by José Luis García Morillo - 2 years ago