My question concerns the replaceAll method of String class.
My purpose is to replace all the em-dashes in a text with a basic "-". I know the unicode character of em-dash is \u2014.
I tried it in the following way:
String s = "asd – asd";
s = s.replaceAll("\u2014", "-");
Still, the em-dash is not replaced. What is it I'm doing wrong?