in reply to Strip html from string using perl

Hi Mj1234,

From the FAQs: How do I remove HTML from a string?

Use HTML::Strip, or HTML::FormatText which not only removes HTML but also attempts to do a little simple formatting of the resulting plain text.

If you really want to use HTML::Parser, it should be possible by writing a handler for only the text event.

Update: I just noticed that your question is a near-duplicate of your post Remove html tags to obtain plain text from a month ago. Which of the answers there did you try, what worked and what didn't, and why? How do I post a question effectively?

Hope this helps,
-- Hauke D