Regular Expression for Email

/^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)+$/
^(([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)?(\.[a-zA-Z0-9_-]+))$
\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*

0 comments: