Hi, I am trying to modify a regular expression so that it will properly convert text that resembles a hyperlink into the actual HTML code (a href). I have a slight problem with the pattern that I am using. It doesn't capture any parameters on the end of the URL if it has any. For instance, it captures http://www.somewebsite.com/ just fine, but it doesn't capture http://www.somewebsite.com/test.aspx?someparm=1&otherparm=2 properly. It doesn't catch everything from the ? over. Here is the code:
Dim patternSite As String = "\w*[\://]*\w+\.\w+\.\w+[/\w+]*[.\w+]*"
Thanks!
Dim patternSite As String = "\w*[\://]*\w+\.\w+\.\w+[/\w+]*[.\w+]*"
Thanks!