Detect the Domain Name

  • + 1 comment

    Sigh. I spent far too long before realzing that the regex includes "http" or "https" in their regex.

    In normal html this is a valid link

    <a href="//google.com">Google.com</a>
    

    I was pulling those domains with my regex, but the solution does not.