Searching contents of a php page?

Topics: User Forum
Jul 3, 2014 at 5:28 AM
Edited Jul 3, 2014 at 5:33 AM
I'm looking to load a .php web page, and search the contents of the page. Just to save me from manually doing a search on the page and scanning the results myself.
Dim getPage = New HtmlAgilityPack.HtmlWeb
Dim page = getPage.Load("")
   If page.ToString.Contains(keyword) Then
      MsgBox("Found it!")
      MsgBox("Not found!")
   End If
More or less of what I have so far. Doesn't work. When I have "page" do a ToString, it contains HtmlAgilityPack.HtmlDocument.

I assume the agility pack can do this. Originally, I was going to do the search, download the page, search it, then delete it. But I came across this and saw it could read on-the-fly.