Possible Duplicate:
What is the best regular expression for validating email addresses?
I have the following expression
**replacePattern3 = /(\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,6})/gim;
replacedText = replacedText.replace(replacePattern3, '<a href="mailto:$1">$1</a>');**
but it doesn't validate email if the email in this form [email protected] it only validate email in form [email protected]
i need another expression to validate the form [email protected]