Regexp Match

Searches an input string for all occurrences of a regular expression and returns all the matches with the help of Zapier.

Note

If you have an active Plumsail Documents subscription, this action is free, i.e., it doesn’t consume documents limit of the subscription. Please also check the licensing details.

We would recommend you to use Regex 101 tool to test your expressions. It supports the same syntax as Documents. By default, Regex101 works with the PCRE2 syntax. You should change it to .NET (C#) in the “Flavor” section under “Save & Share”.

Parameters

Output Parameters

Parameter

Description

Example

Matches

The dynamic response based on a pattern that is used in this action. Contains all matches groups that included in the pattern (named or unnamed).

Match0, TaskId, status

../../_images/zapier-regexp-match-output.webp

Setup Parameters

Parameter

Description

Example

App

Select the app.

Plumsail Documents

Action event

Select an action from the Plumsail Documents bundle.

Regexp Match

Account

To allow your zaps to get information from and send it to Plumsail Documents, you need to create a connection.

For more information on how to create a connection to Plumsail Documents, see the online Help.

Configure Parameters

Parameter

Description

Example

Regular Expression Pattern

This pattern can contain inline options to modify behavior of the regular expression. Such options have to be placed in the beginning of the expression inside brackets with question mark: (?YOUR_OPTIONS). For example options (?mi) will allow to process multi line text with case insensitivity. You can find additional information about inline options in the MSDN article.

Task (?<TaskId>\d+):(?<status>Approve|Reject)

String to search for matches

You can either enter static text or select dynamic values from other apps in the zap.

Task 5:Approve\nTask 53:Reject\nTask 52:Approve