Link to home
Start Free TrialLog in
Avatar of zattz
zattz

asked on

Download webpage and strip out everything except text

Hi,

Im looking for some code that will download the html of webpage (no images), and then strip out everything except the text. By text I mean the sentences.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of TName
TName

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TName
TName

And if you don't want the webbrowser to show up at all, you can say:

with wb do begin
     OnDocumentComplete:=DocComplete;
     ParentWindow:=Self.Handle;
     Left:=-500; //<-------------------Just an example. Not so nice, but it works...
Avatar of zattz

ASKER

or visible:=false ;)

Thanks for the help
Avatar of zattz

ASKER

By the way,

do you know if there is a way to filter out all the links before saving the text?