Build, test, and debug regular expressions
This regular expression matches Amazon Route 53 default name server hostnames. It validates the "ns-" prefix followed by an ID, the "awsdns-" domain segment, and restricts the top-level domain to common AWS extensions like .org, .co.uk, .net, or .com. It is typically used for validating DNS configurations, parsing AWS infrastructure logs, or verifying domain delegation settings.