You can use replace
instead of replaceAll
to avoid matching regular expression, but instead matching literals.
String adjusted = text.replace("\n\"", "\"");
If you want this method to use you operating system line separators you should use
String adjusted = text.replace(System.lineSeparator()+"\"", "\"");