fixing regex for subdomain