My solution for replacing multiple characters is this one txt= txt.replaceAll(String.valueOf((char)(8239)), " ");