Email validation not working
===

Hi I am trying to validate an email using regular expresions.This is my code:
           
           <input type="text" name="email" id="email"/>
           
           var email = $("input#email"),
           re =  /^[A-Za-z0-9][a-zA-Z0-9._-][A-Za-z0-9]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/; 

           if(re.test(email.val())){
               alert("email valid");
           }else{
               alert("email not valid");
           } 


No matter what I enter in the text field it says the email is not valid.What is the problem?