110,502
社区成员
发帖
与我相关
我的任务
分享
Match amt = Regex.Match(Input, @"(\d{11}).*?\1");
//有重复
if (amt.Success)
listBox1.Items.Add(amt.Groups[1].Value);
List<string> vList = new List<string>();
string s= ...; // 这可以用正则取值
if (!vList.Contains(s)) vList.Add(s); // 判断没有存在才添加