To your regular expression will work with international characters (for example, for processing of letters with diacritics as letters, for example ä, àand so on), you should use the expression that supports the unicode for the character other than letters
"Héllö 1/(¤".replaceAll("[^\\p{L}\\s]", "*");
source
share