Regular Expression

Note: This is an external action and may execute on servers running outside your data centerCentralized locations used to house servers used by Nintex for remote storage, processing, or distribution of data. Nintex has a number of regional data centers available for Nintex for Office 365. For information about Nintex data centers and where your data center is located, contact your Nintex account or territory manager. region. Before implementing, consider performance and regional concerns where digital boundaries are an issue. For more information, see In-tenant and external actions.

Use the Regular Expression actionA tool for building the processes, logic, and direction within workflows. to perform an operation on specified string using a regular expression patternA sequence of characters that define a search pattern. Usually this pattern is used for "find" or "find and replace" operations on text, or input validation.. The operations include checking for a match, splitting, extracting, and replacing.

For example you can use the Regular Expression action to split a string based on its delimiterA sequence of one or more characters used to specify the boundary between separate, independent regions in plain text or other data streams., such as a comma or semi-colon. If you are working with a list of semi-colon delimited numbers retrieved from a list, you can use the action to split the semi-colon delimited postcodes, and store the results in a new Collection variable. It changes a text value of 3000;3001;3002;3003;3004 to a Collection of ["3000", "3001", "3002", "3003", "3004"].

Note:  The Regular Expression pattern follows Microsoft .NET regular expression syntax. For more information about this syntax, see Regular Expression Language - Quick Reference.

Before you start 

Add and configure Regular Expression action

In the Designer:

  1. Click the Utility action group in the action toolbox.
  2. or

    Type the action name or function in the Search field at the top of the action toolbox.

  1. Drag the Regular Expression action to the point in the workflow when you want to perform an operation on a string.
  2. Open the Action Configuration window. For steps on how to open the Action configuration window, see Action configuration window
  3. Type a String.
  4. Select a String operation.
  5. Type a regular expression Pattern.

  6. Select a variable to store the Output.
  7. Click Save.

For more information on the fields and buttons see, Regular Expression fields, buttons and settings