strip domain from user input