IPv4 address with optional CIDR suffix
Matches any valid IPv4 address with, optionally, a CIDR suffix.
0.0.0.0 to 255.255.255.255 and 1.1.1.1/0 to 1.1.1.1/32.
Use the following regex if you don't want to allow the CIDR suffix.
...
Submitted by MAZ01001 - a year ago