Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: HTML <=> Text convertion

by Anonymous Monk
on Dec 10, 2003 at 23:49 UTC ( #313923=note: print w/replies, xml ) Need Help??


in reply to HTML <=> Text convertion

if you just want to strip tags and convert entities:
s/<.*?>//g; s/&gt;/>/g; s/&lt;/</g; s/&apos;/'/g; s/&quot;/"/g/; s/&amp;/&/g;
may do the trick

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://313923]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2017-07-27 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (403 votes). Check out past polls.