string temp="as,df;fdsa,fas;223,fd;adf,fdas;\"fdsa,fdas\",fdas;fdas,fdas;";
我要删除\" \" 中间的逗号怎么删除?
------解决方案--------------------------------------------------------
- C# code
string temp = "as,df;fdsa,fas;223,fd;adf,fdas;\"fdsa,fdas\",fdas;fdas,fdas;"; temp = Regex.Replace(temp,@"(?<=""[^'""]*?),(?=[^'""]*?"")","");// //as,df;fdsa,fas;223,fd;adf,fdas;\"fdsafdas\",fdas;fdas,fdas;