I'm trying to do something like this:
Input: a string like (the numbers are random):
"<12, 3>, <4, 5>, <23, 5>, <33, 56>"
Output: an array of integers like this one
[12, 3, 4, 5, 23, 5, 33, 56]
I tried using some grammars and some splits but I'm always ending with string or chars.