Test, validate and match regular expressions
This PCRE regex matches standard IPv4 addresses, validating four octets separated by dots. Each octet is restricted to the valid numeric range of 0-255 (although the first octet specifically must be between 1 and 255). It is commonly used for validating IP address formats in network configurations, forms, or log files.