呼啦一阵风
正则表达式 (\".*?),(.*?\") 替换成 $1@$2我给你一个Java语言的例子,你看看吧.12345678910public class AA { public static void main(String[] args) { String s="abc,\"sdfs,dfs\",dfds,\"dfsx,sdfasd\""; String regex="(\".*?),(.*?\")"; System.out.println(s.replaceAll(regex,"$1@$2")); }} 运行结果abc,"sdfs@dfs",dfds,"dfsx@sdfasd"