Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
string | The input text to search for patterns | STRING | Yes | - |
regex_pattern | The regular expression pattern to search for | STRING | Yes | - |
mode | The extraction mode determines what parts of matches are returned (default: “First Match”) | COMBO | Yes | ”First Match" "All Matches" "First Group" "All Groups” |
case_insensitive | Whether to ignore case when matching (default: True) | BOOLEAN | No | - |
multiline | Whether to treat the string as multiple lines (default: False) | BOOLEAN | No | - |
dotall | Whether the dot (.) matches newlines (default: False) | BOOLEAN | No | - |
group_index | The capture group index to extract when using group modes (default: 1) | INT | No | 0-100 |
group_index parameter specifies which capture group to extract. Group 0 represents the entire match, while groups 1+ represent the numbered capture groups in your regex pattern.
Outputs
| Output Name | Description | Data Type |
|---|---|---|
output | The extracted text based on the selected mode and parameters | STRING |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
a879e4fd7429edfada44b2f5778bb71e537a000be6c25d3f67359b9ee802812f