Build, test, and debug regular expressions
This regex matches valid IPv4 addresses by verifying that each of the four octets is a number between 0 and 255, disallowing leading zeros. It accounts for an optional dot after each octet and is ideal for extracting or validating IP addresses in network tools, log parsers, and Go applications.