If you are attempting to parse HTML then you'll probably save yourself a lot of time by using one of the HTML modules from CPAN.You *might* save time. Or you might waste a bunch of time (1) figuring out which of a multitude of modules suits you; (2) learning your chosen module's horrible, baroque API; (3) realizing that your HTML is too lax (or invalid) for your chosen module to parse. If it's machine-generated and you just want to pull out something simple, stick with your regex.
In reply to Re^2: How do I select text between two bits of text?
by educated_foo
in thread How do I select text between two bits of text?
by sdyates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |