MatchRegex
Common Scripts Pack.#
This Script is part of theDeprecated
Use the MatchRegexV2 script instead.
Deprecated. Use the MatchRegexV2 script instead. Extracts regex data from a given text. The script supports groups and looping.
#
Script DataName | Description |
---|---|
Script Type | javascript |
Tags | Utility |
#
InputsArgument Name | Description |
---|---|
data | The text date from which to extract the regex. |
regex | The regex to match and extract. |
group | The matching group to return. If no group is provided, the full match will be returned. The group value should start at 1. |
contextKey | The context key to populate with the result. |
flags | The regex flags to match. The default is "-gim". |
#
OutputsPath | Description | Type |
---|---|---|
MatchRegex.results | List of regex matches. | string |