in reply to Re: regex: deleting empty (x)html tags
in thread regex: deleting empty (x)html tags

I should have specified -- the code here is already parsed into valid xHTML — therefore there are no inverted tags.

In fact one of the major things I want to do here is clean out artifacts of the parsing process because for instance your <i><b> </i></b> would have become <i><b> </b></i><b></b> in the parsing process.

  • Comment on Re: Re: regex: deleting empty (x)html tags