I am trying to capture urls in an html page that is being repeated and it usually works when the urls are on different lines but in this case they appear all in one line and separate lines. The url has the tags: Here is what I have been trying
Dim regex As Regex = New Regex( _
".*<a.*href='http://(?<Link>.*?)/profile'>", _
RegexOptions.IgnoreCase _
Or RegexOptions.CultureInvariant _
Or RegexOptions.IgnorePatternWhitespace _
Or RegexOptions.Compiled _
)
Dim ms As MatchCollection = regex.Matches(_html)
Dim url As String = String.Empty
For Each m As Match In ms
url = m.Groups("Link").Value.ToLower
Any ideas appreciated.