Use mine. It will remove matched tag pairs with no content or containing only a space or html entity space.
regex is not a programming language. The appropriate way to remove multiple nested sets is by repeating the Replace All until there are none left.
|