title: Remove invalid characters from email
body: <p>I want to help users from mistakenly entering invalid characters in an email input (pre server-side validation/cleanup)</p>
  
  <p><strong>Note: I am NOT validating emails in frontend, just cleaning up</strong></p>
  
  <pre><code>// Coffeescript
  $(Element).find('input[type="email"]').on 'change keyup', (event) -&gt;
      I = $(this)
      V = I.val()
      I.val(V.replace( [what goes here?] , ''))
  </code></pre>
  
  <p>I want remove space and illegal characters.</p>
  
  <p>What's my regex pattern?</p>