← Back to the Data Processing category

Regex Extract

This node extracts all matches of a regular expression pattern from a string.

TextRegexExtract
Try this node

Inputs

NameTypeRequiredDescription
stringstringYesThe string to search.
patternstringYesThe regex pattern.
flagsstringNoRegex flags (e.g. 'i', 'g', 'm'). Optional. 'g' is recommended for multiple matches.

Outputs

NameTypeDescription
matchesjsonArray of matched strings (empty if no match).

Related Nodes in Data Processing