I\'m trying to figure out how I can repeat a capture group on the comma-separated values in this the following url string:
comma-separated
id=1,2;name=user1,user2
Capturing Group Repeated
String: !abc123def! regex: /!((abc|123|def)+)!/
Matchs:
Group 1: abc123def
Group 2: def
source: https://www.regular-expressions.info/captureall.html