Parsing HTML using regular expressions can be a complete minefield if you don't know exactly what your data will look like.
In situations like this, you're far better off using a real parser, such as HTML::Parser or one of its sub-classes.
In reply to Re: How can I find the contents of an HTML tag?
by davorg
in thread How can I find the contents of an HTML tag?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |