Replace all applications with Regular Expressions, so add another set \\
bigString = bigString.replaceAll("\\\\\"", "\"");
Explanation of why: "\" is interpreted by java as normal \ . However, if you use only this parameter, it becomes the regular expression \ . A \ in the regular expression goes beyond the next character. Since none were found, it throws an exception.
When you write in Java "\\\\\"" , it is first treated by java as a regular expression \\" . Which is then processed by the regex implementation as a backslash followed by a double quote.
source share