Tnx Manjunath, I'll try your exp btw I got it solved,the expression which I tested & found working was as below
^[A-Z0-9a-z_]+(.)[EMAIL PROTECTED](.)?[A-Za-z]{2,4}$ hope whoever need this can use the same for validate email -Ram -----Original Message----- From: Manjunath Bhat [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 4:05 AM To: Struts Users Mailing List Subject: RE: Email Validation Rules Try this, [\p{L}_-]+(\.[\p{L}_-]+)[EMAIL PROTECTED](\.[\p{L}_]+)+ -----Original Message----- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 11:46 PM To: Struts Users Mailing List Subject: RE: Email Validation Rules I'd suggest calling: org.apache.commons.validator.GenericValidator.isEmail(String arg); -----Original Message----- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 1:03 PM To: Struts Users Mailing List Subject: Email Validation Rules Can any one correct me where I'm wrong using the following rule for validating email address....It fails to validate against the valid email address..? [EMAIL PROTECTED],4}$ Tnx in advance :) -Ram --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]