-
Notifications
You must be signed in to change notification settings - Fork 36
RegexReplace Function
Eugene Sergeev edited this page Mar 6, 2016
·
5 revisions
string RegexReplace(input:string, pattern:string, with:string)
Replaces the Regex pattern with the specified string.
If the second input parameter (pattern string) or the third input parameter (with string) is null, an exception is thrown.
1.0.0.0 and later
Remove all non alphanumeric chars except A-z, 0-9 and minus.
RegexReplace([//WorkflowData/FirstName],"[^a-zA-Z0-9-]","")
- MIMWAL Site - http://aka.ms/MIMWAL
- MIMWAL Releases - http://aka.ms/MIMWAL/Releases
- MIMWAL Documentation Wiki - http://aka.ms/MIMWAL/Wiki
- MIMWAL FAQ - http://aka.ms/mimwal/faq
- MIMWAL GitHub Code Repo - http://aka.ms/MIMWAL/Repo
- MIMWAL TechNet Q&A Forum (now read-only) - http://aka.ms/MIMWAL/Forum