• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

email validation problem

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might find this useful


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic