Two Laptop Bag
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: email validation problem
It's not a secret anymore!