title: Regex to restrict certain characters
body: <p>is there someone that can help me come up with a regex that restricts these characters <code>!@#$%^&amp;*()_-</code>? Most of the post here and google lead me to regex that allow a prescribed set of characters and I cannot seem to have much luck coming up with my own.</p>
  
  <p>Thanks in advance.</p>
  
  <p>EDIT:
  After some tries came up with below and seems to work so no further help needed:</p>
  
  <pre><code>"Has restricted-characters_?".replace(/^\!|\@|\#|\$|\%|\^|\&amp;|\*|\‌​(|\)|\_|\-|`|\?/, " ")
  </code></pre>