To remove whitespaces in domain name and sub name