That's a good point. My little regexes there don't convert every single entity, but it strips EVERY tag, and converts the <'s, >'s, quotes, and ampersands. Not much else would be left behind, honestly.
Regardless of that fact, bradcathey, seems to have a very nice solution which is much faster than regex anyway.
| [reply] [Watch: Dir/Any] |
<img src="next.gif" alt="-->" />
Honestly, it's best to use a real parser.
--
< http://www.dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
| [reply] [Watch: Dir/Any] [d/l] |