Copy into input box the character sequence user wants to escape, then hit escape button:
Published under GPL 2.0 licence , this site displays nicely what is allowed and what not
Explanation: Sometimes it's really tricky and ugly (the output) to manually escape a character sequences in allready escaped stuff in database. The user can use the escaped string in sed for search replace:
sed 's/replace-this-escaped-stuff/with-that-escaped-stuff/g' input.txt > output.txt;this tool tries it's (JavaScript, yes its dangerous and ugly but well X-D) best so the user can escape the madness.