Build, test, and debug regular expressions
This regex matches simple HTML anchor tags with an href attribute whose protocol is 4-5 characters (e.g., http, https), followed by a domain with a two-letter top-level domain. It captures the opening tag, link text, and closing tag, making it useful for extracting, validating, or replacing basic link markup in HTML. The pattern is strict and does not account for additional attributes or spaces.