http://www.perlmonks.org?node_id=894043


in reply to Re^3: parsing XML fragments (xml log files) with... a regex
in thread parsing XML fragments (xml log files) with XML::Parser

FWIW, it is a proven approach, see YAPE::HTML, strip HTML tags, Re: Proper nesting of HTML to be enforced (the code)