日期:2014-05-17 浏览次数:20817 次
string str = "send_10(username,4,"张三",9049,4)";
string str2 = "send_10(username,4,"李四",9049,4)";
Regex reg = new Regex("*");//这样不行,如是 Regex reg = new Regex("张三");就行,但是不符合需求
Match mat = reg.Match(ss);
if (mat.Success)
listBox1.Items.Add(index.ToString() + mat.ToString());