• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Validating multiple email addresses in GWT

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I want to validate multiple email addresses in GWT.
I used VType.Email but it validates a single email address only and does not accept comma or any other seperator.

I searched for regex for multiple email addresses and i found:



but it validates the first email address entered, and after comma it accepts anything entered.

Can any one help to validate multiple email addresses in GWT as i used Pattern class of java but it is not supported in gwt, it does not allow my application to run.

i want to validate multiple email addresses entered using seperator.

Thanks in advance


 
Purohit Punam
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey all,

I got the answer, the below regular expression works for validating multiple email addresses seperated by comma:


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic