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