62,046
社区成员
发帖
与我相关
我的任务
分享
string source = "123456Mark12";
string patten = @"^[\d]+$";
Regex reg = new Regex(patten);
MatchCollection mc = reg.Matches(source);
foreach (Match item in mc)
{
MessageBox.Show(item.Value);
}