Regular Expressions 101

Library entries

Find IPv4 IP Address

Vote

0

Regular Expression
pcre

/
^(2[0-4]\d|25[0-5]|1\d\d|0\d\d|0\d|\d\d|\d)[\.](2[0-4]\d|25[0-5]|1\d\d|0\d\d|0\d|\d\d|\d)[\.](2[0-4]\d|25[0-5]|1\d\d|0\d\d|0\d|\d\d|\d)[\.](2[0-4]\d|25[0-5]|1\d\d|0\d\d|0\d|\d\d|\d)$
/
g

Description

Loading markdown...
Submitted by anonymous - 4 years ago