小编And*_*are的帖子

身份证号码验证

我想验证我的小型应用程序的国民身份证号码。

There are only 9 digits
there is a letter at the end 'x' or 'v' (both capital and simple letters)
3rd digit can not be equal to 4 or 9
Run Code Online (Sandbox Code Playgroud)

如何使用 Visual Studio 2010 验证这一点?我可以使用正则表达式来验证这一点吗?

c# validation

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

c# ×1

validation ×1