I got these two lines of code:
1. text = text.Replace("\", Regex.Escape("\"));
2. text = text.Replace("'", "\'");
The first line give me a compiling error:
error CS1010: Newline in constant
Rem out the first line. Run w/ the debugger the second line did not work, it didnot replace ' with \'