How Do I Get List of RegEx Capture Group of Multiple Matches?

You use the For Each action to find each match, and then you use a Search Variable action to find the capture group within the match.

So basically:

  • For Each variable Match matching “(?m)^\s*?(function[ ]?\w*(.)).[\n\r]”
    • Search Variable Match for (?m)^\s*?(function[ ]?\w*(.)).[\n\r] returning the capture group into a variable.
    • Use the captured variable
1 Like