I think this should work: $content =~ s/\<[^\>]+?\>//g; ----- Original Message ----- From: "Octavian Rasnita" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 12:12 PM Subject: Parsing an HTML document
> Hi all, > > I want to parse an HTML document to get out the simple text from it. > I've tried with HTML::Parser, but with no success. The POD documentation is > not very good and I haven't seen any assignment as $text = ... to see how to > get the text. > > I have the text of an HTML file in a $content string and I want to strip all > the HTML tags from there. > > Thank you for any tips. > > Teddy's Center: http://teddy.fcc.ro/ > Mail: [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
