in reply to Re^3: Parsing HTML question
in thread Parsing HTML question

Sorry I confused you with QTP. Yes, I use it for testing, but it has a wonderfull feature to convert a web page to a string. This string is actually a screenshot. I can convert this string into words or try to match words, use reg. expr. etc.
Now, my purpose is not testing. What I need, again, is meaningful WORDS. If by some magic way I can do in perl this conversion to string task I will be happy. Roughly the result should be the same as if I
Open web page
CTRL A
CTRL C
Paste clipboard content to xxxx.txt file
The rest is details. So can we do this job in Perl?

Replies are listed 'Best First'.
Re^5: Parsing HTML question
by moritz (Cardinal) on Jun 24, 2008 at 08:03 UTC
    Ok, so you need to convert a HTML page into plain text. The module I recommended earlier should do just that.