Simple code for Email pattern match using JAVA :
String email = "kapilgupta273@gmail.com";
Pattern pattern = Pattern.compile("([A-Za-z0-9])*([$^#%<>*'()&\"])");
if(pattern.matcher(email ))
return true;
else
return false;
This blog is dedicated to share my experience during my development as a purpose of notes and explorer various web / enterprise technologies like JAVA , JEE , Spring ,hybris, Portal , Jquery , RAI , JMS, Weblogic , SSL , Security, CS, MAC< Linux, Windows, Search, IOT, Arduino, Machine Learning, Tips, Angular, Node JS, React, Mac, Windows, Stack, Exception, Error etc. with examples.
Search This Blog
Subscribe to:
Post Comments (Atom)
Popular Posts
-
During git commit -m 'text' we observed error error: invalid object 100644 b1bc4dae98865adf256e130c6bce53bb09d3e93b for 'path...
-
Getting following error while doing git stash (Stashing takes the dirty state of your working directory — that is, your modified tracked ...
-
< c:if test="${param.name != null}">< /c:if> The above tag is to check whether parameter name is null or not. If i...
-
In recent development, I was facing following issue with one of old existing POM file ; [ERROR] Failed to execute goal org.apache.maven....
No comments:
Post a Comment
Thanks for your comment, will revert as soon as we read it.