Regular Expressions 101

Community Patterns

1...56789...902

Community Library Entry

0

Regular Expression
Java 8

"
^((?:[01][0-9]{0,2}|(?:2(?:5[0-5]{0,1}|[0-4][0-9]{0,1}|[6-9]{0,1}))|[3-9][0-9]{0,1})\.){3}(?:[01][0-9]{0,2}|(?:2(?:5[0-5]{0,1}|[0-4][0-9]{0,1}|[6-9]{0,1}))|[3-9][0-9]{0,1})$
"
gm

Description

IP Address RegEx

Submitted by anonymous - 3 years ago