title: Read character from keypress event
body: <p>i'm trying to make an if statement with jquery to check if an 'abc' char was pressed.
  I'm hoping to do this with regular expression instead of checking keyboard code/ascii char for each key like this:</p>
  
  <pre><code>$('#main-field').on('keypress, keydown', function(event) {
      if ((event.which != 37 &amp;&amp; (event.which != 39)...) {
          code here
      }
  }
  </code></pre>
  
  <p>I know that <strong>event.which</strong> gives you the keyboard code for each character but how do I reach the char itself that is pressed to check if it is an 'abc' character with reg exp?
  thanks</p>