title: Regex to allow only letters and numbers
body: <p>Hello currently I'm using this regex:</p>
  
  <pre><code>alphaNumeric = new Regex("^[a-zA-Z0-9]*$");
  </code></pre>
  
  <p>for my custom TextBox. So when I press a key it only adds to the TextBox's <code>string</code> if it is:</p>
  
  <ul>
  <li>an English letter</li>
  <li>a number</li>
  <li>not a space</li>
  <li><s>not a punctuation symbol</s></li>
  </ul>
  
  <p>The above 3 work except for the 4th condition. Could you provide me with a regex that filters the string so that it only contains English letters or numbers AND <strong>NOT</strong> spaces and punctuation marks like these:</p>
  
  <pre><code>,./;'\[]
  &lt;&gt;?:"|{}
  !@#$%^&amp;*()-=_+
  </code></pre>