Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Answer: how-to strip empty HTML tags like b /b

( #110470=categorized answer: print w/ replies, xml ) Need Help??

Q&A > regular expressions > how-to strip empty HTML tags like <b> </b> contributed by tachyon

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 or get a Win32 GUI version here

Comment on Answer: how-to strip empty HTML tags like b /b
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-10-07 06:57 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (172 votes), past polls