title: Javascript and RegEx for removing special characters
body: <p>I have a string in javascript with some special characters inside.</p>
  
  <pre><code>var string = xxxx &amp;dagger; yyyy &amp;sect; zzzz 
  </code></pre>
  
  <p>And I would like to remove those special characters and get only :</p>
  
  <p>string = xxxx yyyy zzzz</p>
  
  <p>I have tryed with this regex:</p>
  
  <pre><code>&amp;#?[a-z0-9]+;
  </code></pre>
  
  <p>Like that:</p>
  
  <pre><code>string = string.replace(/&amp;#?[a-z0-9]+;/g, "");
  </code></pre>
  
  <p>But the special characters are not matched with this regex.</p>
  
  <p>Do you please have an idea how can I do it ?</p>
  
  <p>The regex works well, see the example: <a href="http://regexr.com?31rrj" rel="nofollow">http://regexr.com?31rrj</a></p>