Normalize string for auto complete