Regular Expressions 101

Library entries

IPv4 address

Vote

0

Regular Expression
javascript

/
(1?\d{1,2}|2[0-4]\d|25[0-5])\.(1?\d{1,2}|2[0-4]\d|25[0-5])\.(1?\d{1,2}|2[0-4]\d|25[0-5])\.(1?\d{1,2}|2[0-4]\d|25[0-5])\/?(\b|\/32)
/
g

Description

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