Small typo in regex. Regex fixes "example.com" but not "subdomain.example.com"