How can I replace all special characters in a workflow? Say you get a string from a SharePoint list: (MyString#1-a). So, I want to remove all special characters from that string: ()#- and I want to replace them with an HTML code for each symbol. So my final string would be: %2528MyString%25231%252Da%2529
%2528 is the parentheses
%2523 is the #
%252D is the -
%2529 is the closing parentheses
Note, I have all the html encoding reference for special characters.