procmail
[Top] [All Lists]

Re: Need pointers for HTML --> ASCII conversions

1998-06-19 07:49:00
|Fri 1998-06-19 Timothy J Luoma 
<procmail(_at_)Unix(_dot_)luomat+Lists(_dot_)nokia(_dot_)com> list.procmail
| I'm getting a LOT of HTML email now.  99.9999999% of these are just regular  
| text by people using M$ software that has HTML on by default.
| 
| I'm sure someone has written a program script with lynx to convert HTML to  
| regular ASCII text, but can't find any references to it

Here is perl one liner:

    perl -0777 -pe 's/<[^>]*>//g'

Can't then who was author of this elegant snippet :-)
jari

<Prev in Thread] Current Thread [Next in Thread>