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
-
While working with GIT observed following : git fetch : refresh the local copy of your remote repository so you will not able to...
-
OpenSSL> rsa -in uat.key.pem -out uat.key Enter pass phrase for uat.key.pem: writing RSA key OpenSSL> pkcs12 -export -out keystore....
-
Hi Everyone, Recently, I have had to change the default browser setting from Safari to Chrome or Mozilla. An easy way to do this with the f...
-
Recently while installing android SDK , I was getting following error "Unable to elevate" error Solution I tried : 1. R...
No comments:
Post a Comment
Thanks for your comment, will revert as soon as we read it.