The purpose of this plugin is to display particular groups of regexes that we specify in a pattern.
This node requires configuration.
{
"pattern": "(\\b[A-Z]+\\b).+(\\b\\d+)",
"text": "The price of PINEAPPLE ice cream is 20",
"group_prefix": "Group"
}
{
"Group-A": "PINEAPPLE",
"Group-B": "20"
}
- pattern - Provide regex pattern.
- text - Enter your text. You can use dot notation to access profile or event data.
- group_prefix - Enter the prefix for groups
- Regex couldn't find anything matching the pattern from supplied string. - This means that the pattern you specified is incorrect, because the plugin cannot find any text. This error will not stop workflow but will be logged as a warning.
This node does not process input payload.
This node returns dictionary containing data on groups
Example
{
"Group-A": "PINEAPPLE",
"Group-B": "20"
}