File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

email validation problem

srinivas srini
Greenhorn

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

the validation works fine if I enter the following in the text field
mail1@email.com,,,,,,,mail2@email.com

but the validation does NOT work if I enter the following in the text fields
mail1@email.com;;;;;;;mail2@email.com

the following will work properly
mail1@email.com;mail2@email.com

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