Build, test, and debug regular expressions
This regular expression is designed to match IP addresses, featuring a standard and rigorous IPv4 validation for numbers between 0 and 255 separated by dots. It also includes a secondary pattern that loosely matches colon-separated hexadecimal blocks, typical for IPv6 addresses. You can use this regex for network configuration parsing, log analysis, or validating user input.