Just for fun, here's a low-level solution using vanilla HTML::Parser.
In reply to Re: Why a regex *really* isn't good enough for HTML, even for "simple" tasks
by hippo
in thread Why a regex *really* isn't good enough for HTML and XML, even for "simple" tasks
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |