Answers for "use regex in if statement java"

0

use regex in if statement java

Pattern p = Pattern.compile("a*b");
 Matcher m = p.matcher("aaaaab");
 boolean b = m.matches();
Posted by: Guest on June-24-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language