java regex capture group

Numbering of subgroups starts with 1, 0 is the full text. Just go till count+1 with your loop.

Leave a Comment