s = s.replaceAll("\"", "\\\\\"");
String str = "aaa\"aaaa"; System.out.println(str); String s = str.replaceAll("\"", "\\\\\""); System.out.println(s);
str.replaceAll("\"","\\"");
62,614
社区成员
307,326
社区内容
加载中
试试用AI创作助手写篇文章吧