62,046
社区成员
发帖
与我相关
我的任务
分享
string s = "[a]=@b [c]=@d 'dafd [c]=@d dafdaf'";
string r = Regex.Match(s, @"(?<!^')(\[\w+\]=@\w+(?!') *)+").Value;
Response.Write(r);
string s = "[a]=@b '[c]=@d'";
string r = Regex.Match(s, @"(?<!^')\[\w+\]=@\w+(?!')").Value;
Response.Write(r);