Regular Expressions 101

Enterprise

Community Library

Community Library Entry

-1

Regular ExpressionOpen Workspace

"
^(?:(?:25[0-5]|2[0-4]\d|1?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|1?\d\d?)$
"
mg

Description
Created·2021-03-24 16:23
Type·Match
Flavor·Java

This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."

Submitted by EMAM1999
Open Workspace