System.Text.RegularExpressions) for validating the IP
address in the textbox.
Regular Expression to validate Web address:
^(http|https|ftp)\://(((((([0-1])?([0-9])?[0-9])|(2[0-4]
[0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4]
[0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4]
[0-9])|(2[0-5][0-5])))\.(((([0-1])?([0-9])?[0-9])|(2[0-4]
[0-9])|(2[0-5][0-5]))))|((([a-z0-9\-])+\.)+([a-z]{2}\.[a-
z]{2}|[a-z]{2,4})))$
Hope this helps.
-----Original Message-----
Hi, this is really more of a WinForm question. How do I validate a text boxon a winform to make sure it is a web address?
I would be able to do it in ASP.NET but not with VB.NET
Thanks
Jordan
.