title: JavaScript RegEx to replace HTML encoding
body: <p>I have the following JS code, which I want to replace all my <code>&amp;#8362;</code> (&#8362;) with a <code>$</code> sign.</p>
  
  <pre><code>$(this).html($(this).html().replace(/&amp;#8362;/g,'$'));
  </code></pre>
  
  <p>However it's not doing anything. I've also tried to escape the special characters (as I don't know exactly which need to and which don't), but that didn't work either.</p>