It is not clear if you are asking fo help, or already have a solution.
But if you are asking "[What Are the Special Symbols That Need to Be Escaped, and How to Escape Them All at Once? ", then I will offer these suggestions:
If you are using KM Variables as your source data in any way, then turn OFF Text Processing in the KM Action:
Search and Replace.kmactions (808 B)
Note: This is an Action upload, which will immediately and without notice insert into your currently active Macro in the KM Editor on your Mac, when you import this Action.
Apply this Action to the Source String before you make any further Search or Search and Replace Actions.