M
Michael Persaud
Hello,
I am trying to use the following in a project to identify a table that is ided="news of the day"
Function readHtmlPage(url As String) As String
result = ....'as string
dim regexp as regex = New Regex("<table>((.|\n)News of(*?))</table>", RegexOptions.IgnoreCase)
dim str as string
Dim objMatch as Match
For Each objMatch in regexp.Matches(result)
Str= objMatch.ToString()
Next
return str'result
But its not getting anything. Please let me know what is wrong with getting the "News of " string
Thanks
MP
I am trying to use the following in a project to identify a table that is ided="news of the day"
Function readHtmlPage(url As String) As String
result = ....'as string
dim regexp as regex = New Regex("<table>((.|\n)News of(*?))</table>", RegexOptions.IgnoreCase)
dim str as string
Dim objMatch as Match
For Each objMatch in regexp.Matches(result)
Str= objMatch.ToString()
Next
return str'result
But its not getting anything. Please let me know what is wrong with getting the "News of " string
Thanks
MP