Test, validate and match regular expressions
Matches valid IPv4 addresses by strictly validating four octets (ranging from 0 to 255) separated by dots. Each octet is evaluated using non-capturing groups to ensure it falls within the correct numeric range, successfully preventing invalid IPs like 192.168.1.256. It is commonly used for network configurations, log parsing, and data validation.