procmail
[Top] [All Lists]

Stripping out HTML tags

1997-10-08 13:38:34
Piping a message through

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

will remove all <....> things.  It does have the disadvantage that it
reads the entire message into memory at once, which is bad if it's an
enormous message.

Kragen

<Prev in Thread] Current Thread [Next in Thread>
  • Stripping out HTML tags, Kragen Sitaker <=