Java validating email address

The answer specified in the link is useful, but not the best solution when using Java.

There may be more usecase but that’s not point of discussion here. validating email address in java using regular expressions.

I'm Nataraja Gootooru, programmer by profession and passionate about technologies.

All examples given here are as simple as possible to help beginners.

Taking all these into account some valid email addresses are: Email ID [email protected] is valid?

false Email ID journaldev()[email protected] is valid? false Email ID journaldev..[email protected] is valid?