Private IP Address Identifier in Regular Expression
I’m assuming you want to match these ranges: 127. 0.0.0 – 127.255.255.255 127.0.0.0 /8 10. 0.0.0 – 10.255.255.255 10.0.0.0 /8 172. 16.0.0 – 172. 31.255.255 172.16.0.0 /12 192.168.0.0 – 192.168.255.255 192.168.0.0 /16 You are missing some dots that would cause it to accept for example 172.169.0.0 even though this should not be accepted. I’ve fixed … Read more