email validation using regular expression
<p>i am using this regular expression for email validation but it is not allowing hyphen (<code>-</code>):</p>

<pre><code>/^\w+([\.-_]?\w+)*@\w+([\.-_]?\w+)*(\.\w{2,4})+$/
</code></pre>

<p>please any one tell me how can i do this?</p>
