请问下红色下划线带C的这串数字,我要怎么截取出来呢?
这是我的代码
string t = string.Empty;
Regex reg = new Regex(@"(?is)[\d]{16}");
MatchCollection mc = reg.Matches(s); foreach (Match m in mc)
{
this.listBox1.Items.Add(Regex.Replace(m.Value, " ", "", RegexOptions.IgnoreCase));
}
这是我的代码
string t = string.Empty;
Regex reg = new Regex(@"(?is)[\d]{16}");
MatchCollection mc = reg.Matches(s); foreach (Match m in mc)
{
this.listBox1.Items.Add(Regex.Replace(m.Value, " ", "", RegexOptions.IgnoreCase));
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货