title: Regular Expression to validate email ending in .edu
body: <p>I am trying to create a regex validation attribute in asp.net mvc to validate that an entered email has the .edu TLD.</p>
  
  <p>I have tried the following but the expression never validates to true...</p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>[a-z0-9!#$%&amp;'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&amp;'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+edu
  </code></pre>
  
  <p>and</p>
  
  <pre class="lang-none prettyprint-override"><code>\w.\w@{1,1}\w[.\w]?.edu
  </code></pre>
  
  <p>Can anyone provide some insight?</p>