I have to replace a string whit special character like this: XY_Universit�-WWWWW-ZZZZZ in another one like: XY_Universita-WWWWW-ZZZZZ.
I tryed solutions like stringToReplace.replaceAll(".*Universit.*", "Universita"); but it replace all the string with the word ''Universita" and it isn't what i want.
Thanks in advance
F
.*eagerly matches. In any case I suspect the real question is really "How to map Unicode characters with accents to the English-letter equivalent?" eg. see stackoverflow.com/questions/18350798/… , stackoverflow.com/questions/3322152/…