Hi AcidHawk,
I had a similar problem where the matches() method doesn't seem to do what you would expect. So I ended up doing something like:
Pattern p1 = Pattern.compile("\\s\\w:\\s");
Matcher m1 = p1.matcher(myString);
boolean b1 = m1.find();
if (b1) {
String[] strArr =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.