Possible Duplicate:
What is the best regular expression for validating email addresses?
I found this e-mail validation regular expression in Stack Overflow's own answer page code. Is it valid/effective?
function saveEmailNotification(email) {
// only post if the email is valid
if (!(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i).test(email)) return;
...
}