111,126
社区成员
发帖
与我相关
我的任务
分享
List<string> result = new List<string>();
Regex paramReg = new Regex(@"(?<!@)[^\w$#@]@(?!@)[\w$#@]+");
MatchCollection matches = paramReg.Matches(sql);
foreach (Match m in matches)
{
result.Add(m.Groups[0].Value.Substring(m.Groups[0].Value.IndexOf("@")));
}
Response.Write(m.Groups[1].Value + ",");