Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > remove html to leave text

Reply
Thread Tools

remove html to leave text

 
 
ton de w
Guest
Posts: n/a
 
      05-03-2007
Hello,

I am using DBI::msql to fetch some stuff.and then write it out as CSV
and it is picked up by openoffice.Calc
This works perfect - except one of the text fields includes html tags
as wella s useful text.
How can I strip out the html tags <b> etc etc and replace each tag
with a char of my choice?

TIA

Ton

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
css: knowing how much room to leave for text? Andy B. ASP .Net 1 05-01-2010 05:24 PM
[ask]How to remove HTML part of a text Darmanto Lie Ruby 3 12-26-2009 03:40 AM
remove winXp & leave win2000 =?Utf-8?B?bWFobW91ZCBvc2FtYQ==?= Microsoft Certification 3 08-24-2004 04:45 PM
How can I check for a specific HTML tag or Text and remove it when the page loads techy techno Javascript 4 01-25-2004 04:34 PM
How to use HTML::Parser to remove HTML tags and print result Mitchua Perl 1 07-15-2003 02:02 PM



Advertisments