<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Okta Workflows Text - Replace Card Uses RegEx
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

Okta Workflows Text - Replace card uses RegEx behind the scenes for the search and replace functionality.

Applies To
  • Workflows
  • Text - Replace
  • RegEx
Cause

RegEx keywords will provide unexpected results if not used with an escape character to allow a literal search.  Examples of keywords are (. = any character, $ = end of string, ^ = beginning of string)

Solution

Use the RegEx escape character \ in front of the keyword.  Instead of use \. and this will look for the literal . instead of any character.

The screenshot below shows the difference between these two examples using the (.).
Flow Example  

Loading
Okta Workflows Text - Replace Card Uses RegEx