Regular Expression Test

Evaluate whether provided regular expression matches any part of a given input string.

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 actions. 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

Is Success

True if the input string has at least one occurrences of a regular expression, otherwise false.

true

Input Parameters

Parameter

Description

Example

Connection

To allow your scenarios 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.

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.

(?<TestGroup1>\d4) (\d5)

String to search for matches

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

24 45\n435 64 85