string regextel = "(\\(\\d{3,4}\\)|\\d{3,4}-|\\s)?\\d{7,14}"; //电话号码 string regexphone = "1(3|4|5|7|8)\\d{9}"; string regexStr2 = "[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]"; MatchCollection sfz = Regex.Matches(str_Msg, regexStr2); foreach (Match m in sfz) { tellist.Add(m.Groups[0].Value); }