Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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


Comment on Re: HTML <=> Text convertion
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://313923]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2014-09-24 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (245 votes), past polls