?
Solved

How to apply email validation in java.

Posted on 2013-06-10
3
Medium Priority
?
257 Views
Last Modified: 2013-06-10
I am working on core java, does it give regular expression to check email validation in java.
0
Comment
Question by:searchsanjaysharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Expert Comment

by:mrwad99
ID: 39234333
You can validate an email using various different regex statements; one such example is at http://www.mkyong.com/regular-expressions/how-to-validate-email-address-with-regular-expression/.

HTH
0
 
LVL 12

Accepted Solution

by:
Sharon Seth earned 1500 total points
ID: 39235414
javax.mail.internet.InternetAddress - You can use this , built as per RFC822
0
 

Author Closing Comment

by:searchsanjaysharma
ID: 39235420
tx
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses
Course of the Month8 days, 15 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question