Regular Expressions 101

Library entries

RFC1918 - Private IPv4 addresses

Vote

2

Regular Expression
pcre2

/
^(10(\.(1?\d\d?|2([0-4]\d?|5[0-5])))(?2)|172\.(1[6-9]|2\d|3[0-2])(?2)|192\.168(?2))(?2)$
/
gm

Description

Loading markdown...
Submitted by 0100101101001 - a month ago