正则表达式
验证email:string regex = @"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$";
验证电话号码:
string regex = "^\\(?\\d{3,4}[-\\)]?\\d{7,8}$";
string regex2 = "^0?\\d{11}$";
验证身份证:string regex=@"^(^\d{15}$|^\d{18}$|^\d{17}(\d|X|x))$";