Allow Regex in String Compare function | Community
Skip to main content
Level 2
April 17, 2026
New

Allow Regex in String Compare function

  • April 17, 2026
  • 0 replies
  • 4 views

In workfront the only option to use regex is REPLACEPATTERN. This too has its own forthcomings. It does not allow for complex regex patterns.

For example:

Expected result: REPLACEPATTERN({Custom Field},”[^a-zA-Z0-9\s]”,”_”). This does not work as intended.

Workaround: REPLACEPATTERN(REPLACEPATTERN({Custom Field},”\s”,”_”),”\w”,”_”)

It only allows shorthand expressions. And to add special characters there is no option whatsoever. So in line with this operation we have to use REPLACE function for each of the special characters.

 

What we want

  1. Allow standard regex syntax to be recognised in workfront.
  2. Introduce regex function that gives a boolean as output. Or even better a whole suite of functions using REGEX and have it as a separate section just like OTHER.