So I'm trying to count the number of parentheses (e.g. close brackets) in a string by using a regex. I found this method "groupCount" on the matcher class. So I thought this could help me out.So I'm trying to count the number of parenthese
So I'm trying to count the number of parentheses (e.g. close brackets) in a string by using a regex. I found this method "groupCount" on the matcher class. So I thought this could help me out.So I'm trying to count the number of parenthese