Hi,
Maybe someone can help me with this email validation
alert( ((/\w+((-\w+)|(\.\w+)|(\_\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z]{2,4}/).test(email)));
I want the values after the dot to no less that 2 and no more that 4 so I use {2,4} if I enter test@test.c it returns false which is what I spected but if I enter test$test.cmmmmmmmmm it returns true what i'm doing wrong.
Thanks in advance