title: the correct regex for replacing em-dash with a basic "-" in java
body: <p>My question concerns the replaceAll method of String class.</p>
  
  <p>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.</p>
  
  <p>I tried it in the following way:</p>
  
  <pre><code>String s = "asd – asd";
  s = s.replaceAll("\u2014", "-");
  </code></pre>
  
  <p>Still, the em-dash is not replaced. What is it I'm doing wrong?</p>