Email validation

Pantalone
What is the regex for validating an email again?
Arlecchino
/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/
Pantalone
No wonder I can't remember it. But if I'll just paste it into my code I can check if the user entered a properly formatted email.
Arlecchino
No?
Continue reading...