You could try creating a separate text file with these special characters and make PAD read it, and use its contents to replace the text in your string.
Otherwise, try using scripting actions, such as a PowerShell script, or a Python script to remove special characters. These scripting actions are usually better equipped to do it than native PAD actions.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.