Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

use regex in if statement java

Pattern p = Pattern.compile("a*b");
 Matcher m = p.matcher("aaaaab");
 boolean b = m.matches();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #statement #java
ADD COMMENT
Topic
Name
9+8 =