Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

regular expression java

//Ther are three type of REGULAR EXPRESSION     
   //first
   ^(.+)@(.+)$   "^(.+)@(.+)$""
   //second
   ^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,6}$
     //third
   ^[w!#$%&'*+/=?`{|}~^-]+(?:.[w!#$%&'*+/=?`{|}~^-]+)*@(?!-)(?:[a-zA-Z0-9-]+.)+[a-zA-Z]{2,6}$  
Source by www.javatpoint.com #
 
PREVIOUS NEXT
Tagged: #regular #expression #java
ADD COMMENT
Topic
Name
7+8 =