Extracting a number from a string in system verilog

In reply to dave_59:

Hi Dave,

A follow up question on this if I may -
I have a match using uvm_re_match (returning 0 - to my understanding it means the string matches)
How do I extract the actual searched sub-strings after the match? I can’t find any method that does that.

Thanks!