Regex capturing groups

Hi everyone, I know SenseTalk has Regex pattern matching but does anyone know if SenseTalk has the ability to capture groups in Regex and to be able to use the captured group?

So for example in Regex if I had a string called “test string” I could grab “test” by using this Regex

(test).*

and then refer to “test” by using the group reference $1.

Is there a way I can do the same with SenseTalk?

Cheers

Yes, it does. See Using Capture Groups with Pattern Definitions

Ok, thankyou Matt