Build, test, and debug regular expressions
This regex extracts a top-level domain name from IIS SSL certificate binding strings, which typically have formats like 'IP:port:domain.com' or 'hostname:port:domain.com'. The optional first group matches any prefix ending with a colon and optional digits, while the second group captures the domain portion (word characters, dots, and ending characters). Useful for parsing IIS netsh SSL certificate bindings or similar configuration data.