javascript validation for email format accepting incorrect email format @abcd.com.gmail,
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/46155/validate-email-address-in-javascript">Validate email address in Javascript?</a>  </p>
</blockquote>



<p>I have to do validation for Email format, I am using the CODE below line to restrict Special Characters. </p>

<pre><code>onkeypress="return AlphaNumericBox(event,this,'@._);"
</code></pre>

<p>But now the Problem is I don have any proper validation for the exact format for example its also accepting text like <code>" @abcd.com.gmail,.. "</code> Is there any javascript validation for this? 
any idea?</p>

<p>Thanks in advance.</p>
