title: Regex Email - Ignore leading and trailing spaces?
body: <p>We are using the following to do an email validation in ASP.NET:</p>
  
  <pre><code>\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*
  </code></pre>
  
  <p>How can this be modified to ignore leading and trailing spaces?</p>
  
  <p>The actual trimming we handle in code on postback but the validator is triggering as being invalid if the user has an extra space often due to copying and paste.</p>