Answer the question
In order to leave comments, you need to log in
Why doesn't regular expression work in Java?
Hello, I have this code:
String[] out_arr = out.split(" ");
for(int z=0; z < out_arr.length; z++){
if(out_arr[z].matches("[a-z]+")) {
System.out.println(out_arr[z]);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question