且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows窗体中的验证码

更新时间:2023-12-06 12:41:58

我认为,***的主意是使用 ^ ]类.

这是有用的链接的集合:
http://regexlib.com/DisplayPatterns.aspx?cattabindex=2&categoryId=3& AspxAutoDetectCookieSupport = 1 [ ^ ]
http://forums.asp.net/t/897862.aspx/1 [ ^ ]
http://www.regular-expressions.info/numericranges.html [使用正则表达式简化验证 [
In my opinion, the best idea is to use RegEx[^] Class.

Here is the collection of helpful links:
http://regexlib.com/DisplayPatterns.aspx?cattabindex=2&categoryId=3&AspxAutoDetectCookieSupport=1[^]
http://forums.asp.net/t/897862.aspx/1[^]
http://www.regular-expressions.info/numericranges.html[^]
Validation with Regular Expressions Made Simple[^]


您更好的解决方案是使用正则表达式.根据您的问题的正则表达式为"^[a-zA-Z0-9]*
Your better solution would be to use regular expressions. The regular expression based on your question would be "^[a-zA-Z0-9]*


".
这是一个正则表达式教程: 30分钟正则表达式教程 [ ^ ]
如何在C#中使用它们: dotNet中的正则表达式 [
".
Here is a regex tutorial: The 30 Minute Regex Tutorial[^]
How to use them in C#: Regular Expressions in dotNet[^]