wood burning stoves 2.0*
The moose likes JSF and the fly likes email validation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "email validation problem" Watch "email validation problem" New topic

email validation problem

srinivas srini

Joined: Feb 03, 2004
Posts: 23
I have a validation for email which should allow only , or ;

the validation works fine if I enter the following in the text field

but the validation does NOT work if I enter the following in the text fields

the following will work properly

this is the regular expression that I have written in my validator class

can anyone let me know what's going wrong here? any solution to this would be very much helpful.

Thanks in advance.

Ogeh Ikem
Ranch Hand

Joined: May 13, 2002
Posts: 180
You might find this useful

I agree. Here's the link: http://aspose.com/file-tools
subject: email validation problem
Similar Threads
java string[] splitting for email id
regexp on email address
Quick Javascript & RegEx quuestion
Replace text by HTML links
Validate multiple Email address in validation.xml file