Welcome to RegexAdvice Sign in | Join | Help

Pranav Ainavolu

VSTO, COM and Outlook

May 2010 - Posts

Check for valid URL using Regular Expressions
Here is the code to check whether the given string is a valid URL or not using Regular Expresssions. Public Function IsValidUrl(ByVal Url As String) As Boolean Dim strRegex As String = "^(https?://)" _ & "?(([0-9a-z_!~*'().&=+$%-]+: Read More...