in reply to regex: deleting empty (x)html tags
Solve this using an HTML parser. Once you have a parse tree, removing empty elements is trivial.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: regex: deleting empty (x)html tags
by CrysC (Novice) on Feb 15, 2004 at 00:23 UTC |