title: What JavaScript RegEx allows alphanumeric characters except some special characters?
body: <p>I need a JavaScript regular expression that <strong>allows all alphanumeric characters and rejects &quot;&amp;&quot; (ampersand), &quot;;&quot; (semicolon), and &quot; ' &quot; (apostrophe)</strong>.</p>
  <p>I know how to allow only certain characters, such as <code>^[a-zA-Z0-9 @$]*$</code>—this allows all alphanumeric characters, spaces, &quot;@&quot; (at-sign), and &quot;$&quot; (dollar-sign).</p>
  <p>How could I tell it to allow all special characters except <strong>&quot;&amp;&quot;, &quot;;&quot; and &quot; ' &quot;</strong>, while allowing all alphanumeric ones?</p>