title: How to replace curly quotation marks in a string using Javascript?
body: <p>I am trying to replace curly quotes:</p>
  
  <pre><code>str = '“I don’t know what you mean by ‘glory,’ ” Alice said.';
  </code></pre>
  
  <p>Using:</p>
  
  <pre><code>str.replace(/['"]/g,'');
  </code></pre>
  
  <p>Why it does not work? How can I do this?</p>