Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Validating multiple email addresses in GWT

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
hey all,

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


 
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!