A regular expression to match a Subnet Mask, which is a logical subdivision of an IP network.
A regular expression to match all valid IP addresses (v6) with and without ports.
A regular expression to match all valid IP addresses (v4) with and without ports.