Match Regexp
Extract text using regular expressions. Supports capture groups: if the pattern contains a group like ([^]]+), returns the captured text. Returns an array of all matches. Use this instead of RunPython for text extraction.
Category: Data Processing & Transformation · Group: General · Activity name: Regex

Example
matches = Regex("Order #(\\d+)", "Your Order #12345 is ready")
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Pattern | string | Yes | The regular expression pattern to search for in the text. | |
| Text | string | Yes | The text in which to search for the pattern. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | array | Array of matched strings. With capture groups, contains the captured text (e.g. pattern '(\d+)' on 'abc123' returns ['123']). |