Skip to main content
The Regular Expression action builds a regex value for other text actions. Use it with Matches Regex, Extract Text with Regex, Replace Text, Split Text, or Count Occurrences.

Inputs

Flags

Outputs

Example: invoice IDs

Set Pattern to:
Keep Global on to find every ID and Ignore case on if inv-1042 should also match. Connect Regex to Extract Text with Regex to return the matches.
Enter the pattern without wrapping / characters. For example, use \d+, not /\d+/g; choose flags separately. An invalid pattern fails when the action runs.