help with perl....

Got a software or hardware problem? Ask your questions here

Moderator: SG Admins

Post Reply
Posts: 32
Joined: Tue Oct 29, 2002 7:19 pm
Location: Oxford

help with perl....

Post by bartender » Fri Mar 05, 2004 10:18 am

Ok, here’s my problem. I have an Excel file with about 150000 rows, and each cell contains text with some html tags mixed in for good measure. I’m trying to remove the html tags and leave behind just plain text. I was given this code snippet:

use HTML::Parse;
use HTML::FormatText;
$plain_text = HTML::FormatText->new->format(parse_html($html_text));

but never having used perl, I really don’t understand it and could do with some advice.

Thanks for any help.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests