Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Java 8

"
(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)[.](25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)[.](25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)[.](25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)
"
gm

Description

Validates IPv4 Address for Java

Submitted by krzysp, jpalvesloiola - 2 years ago