RegexReplace Function

Eugene Sergeev edited this page Mar 6, 2016 · 5 revisions

Syntax

string RegexReplace(input:string, pattern:string, with:string)

Description

Replaces the Regex pattern with the specified string.

Remarks

If the second input parameter (pattern string) or the third input parameter (with string) is null, an exception is thrown.

Supported Version

1.0.0.0 and later

Examples

Remove all non alphanumeric chars except A-z, 0-9 and minus.

RegexReplace([//WorkflowData/FirstName],"[^a-zA-Z0-9-]","")
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.