Regex

Description

This operation allows you to extract or manipulate parts of your input strings that match a specific regular expression pattern.


Data types

These are the input/output expected data types for this operation:

Input data

- The strings from which you want to pull out specific parts.

Output data

- The resulting strings that match your regular expression. The output data is represented as a list of strings.


Parameters

These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):

Regex*

Enter the RegEx pattern you want to use for matching.


Example

Suppose you want to look for email addresses in your input strings:

  1. In your Pipeline, open the required Action configuration and select the input Field.

  2. In the Operation field, choose Regex.

  3. Set Regex to [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}

  4. Give your Output field a name and click Save.

Entering the parameters set above, for the following text:

Hello, you can contact us at [email protected] or [email protected] for assistance.

you'll get the following result:

You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.

Last updated

Was this helpful?