身份证正则验证!

bool sfz = Regex.IsMatch(SfzHm, @"(^(\d{6})+(\d{4})+(\d{2})+(\d{2})+(\d{3})([0-9]|X)$)");
posted @ 2023-01-15 11:27  kismet82  阅读(9)  评论(0编辑  收藏  举报