title: Checking if input field contains EN Dash or EM Dash characters using Javascript
body: <p>I need to validate a password field that allows special characters but does not allow the user to enter EM Dash or EN Dash, how could I check this or what would the regex look like to check for these? I'm unfamiliar with these types of dashes. </p>
  
  <p>Below is my current regex that seems like it should allow everything that I specify in it, therefore; the two dashes shouldn't validate. Do I have something backwards? </p>
  
  <pre><code>var regexp = /^[a-zA-Z0-9-!@#$%&amp;*]+$/;
  </code></pre>