Test, validate and match regular expressions
This regular expression matches valid IPv4 addresses, ensuring each of the four octets falls within the range of 0 to 255. It carefully validates numbers from 0-99, 100-199, 200-249, and 250-255, separated by periods. It is highly useful for network configuration validation, log parsing, or input sanitization where correct IP formatting is strictly required.