string: "<something><or><other>"
regex pattern: "<(\w+)><(\w+)><(\w+)>"
How do I make a regex call that returns to me a collection of results containing everything between the parentheses? For example, I would want a result set of {"something", "or", "other"}.
For bonus points, what is this called? Captures? Capturing groups? Some kind of templating? I feel like if I knew the proper terminology I could search for it.
Thank you.