public bool isTel(TextBox tb) { string s = @"^(13[0-9]|15[0|3|6|7|8|9]|18[8|9])/d{8}$"; bool flag = ture; if (!Regex.IsMatch(tb.tel,s)) { flag = flase; } return flag; }