A more complete option is not Perl. Use HTML Tidy which is by w3c's Dave Raggett. I just tested it and it will strip empty tags a well as a doing many other useful things. Get your free copy here http://www.w3.org/People/Raggett/tidy/ or get a Win32 GUI version here http://perso.wanadoo.fr/ablavier/TidyGUI/
In reply to Re: how-to strip empty HTML tags like b /b
by tachyon
in thread how-to strip empty HTML tags like <b> </b>
by russmann
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |