Skip to content

Get All Regex Groups

Use Get All Regex Groups with the ordered inputs below.

Set Variable → Operations → Choose Operation → String. Requires Dev access to configure, then a successful compile to activate.

Input Type Role Requirement Default / constraint
Result List Variable binding Required Required
Text String Value Required Required
Pattern String Value Required Required

Stores the result in the first configured destination Variable. Its type must match the result and any generic element/key types.

Block: Set Variable → Operations
Operation: Get All Regex Groups
Result: Private List<String> result
Text: Hello
Pattern: (?<name>Alex)

Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.

Regex capture group 0 is the whole match; capture groups start at 1. Result Lists use normal 1-based indexing. String output, regex work, and execution budgets remain bounded. Select the tags above for case/regex/matching modes where provided.

Reference identifier: text.regex_groups.

See text and regex for supported syntax, capture numbering, no-match results, and resource limits.