I saw this post What is a non-capturing group? What does a question mark followed by a colon (?:) mean?
And i figured that the following would work, but it doesn't...
I have a String "Game No : 432543254 \n"
Pattern p = Pattern.compile("(?:Game No : )[0-9]*?(\n)");
Matcher m = p.matcher(curr);
m.find();
System.out.print(m.group());
But the code above prints the entire string, not just the numbers i want