16,717
社区成员
发帖
与我相关
我的任务
分享string str="1235\"测试\"6789";
string regstr = @"""(.*)""";
System.Text.RegularExpressions.Regex reg = new System.Text.RegularExpressions.Regex(regstr);
System.Text.RegularExpressions.Match mMatch = reg.Match(str);
string result = "";
if(mMatch.Success)
result = mMatch.Value;