RegexReplace Function - microsoft/MIMWAL GitHub Wiki
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-]","")