Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting specific lines from html body
#1
Guys,

Based on a html body, how can I filter the lines using a text?

Example:

The variable 's' below returns all HTML body...

Code:
Copy      Help
HtmlDoc d.InitFromWeb("http://www.quickmacros.com/")
str s=d.GetHtml("body")
out s

But I'm just interested in the lines which I can Find the word "API".

Expected result:

<P>Windows API, COM, other dlls, C#, VB.NET, VBScript, C.</P>
<LI><SPAN>Programming language with functions, classes, full dll/API/COM support.</SPAN>

Do you know how can I put that filter?

Thanks for helping.


Forum Jump:


Users browsing this thread: 1 Guest(s)