- System.Text.RegularExpressions.Regex.IsMatch(argValue, "[A-Z]")
- System.Text.RegularExpressions.Regex.IsMatch(argValue, "[0-9]")
- System.Text.RegularExpressions.Regex.IsMatch(argValue, "[a-z]")
- System.Text.RegularExpressions.Regex.IsMatch(argValue, "[/u0000-/u00FF]")
- 返回True:有匹配项;False:没有匹配项
C#判断输入的字符串中是否含有大写字母,小写字母,数字,字符
最新推荐文章于 2021-09-27 11:19:22 发布