日期:2014-05-18 浏览次数:21099 次
string txt = "职务:团长 电话:8788585 证件号码:56558788 家庭住址:...... ";
string regex = "(?<=证件号码:)\\d*";
string identityID = System.Text.RegularExpressions.Regex.Match(txt, regex).Value;
MessageBox.Show(identityID);