java regex group not working code example
Example: java regex group not working
You need to call find() on the Matcher before you can call group() and related functions:
if (m.find()) {
System.out.println("id = " + m.group(1));
}
You need to call find() on the Matcher before you can call group() and related functions:
if (m.find()) {
System.out.println("id = " + m.group(1));
}