2 Replies Latest reply on Aug 9, 2011 8:53 AM by FredericCox

    RegExp for Email validation

    rajagopal.s Level 1

      Hi,

       

      am using regular expression mentioned below for email validation ,

       

      var emailExpression:RegExp=/^[a-z0-9][\w.-]+@\w[\w.-]+\.[\w.-]*[a-z][a-z]$/i;

       

      but its not accepting the mail id like

       

      c@sample.com

       

      can any one give the RegExp for validating the email in as3 which should accepts all formats of email.

       

      Thanks in Advance