Don't, don't, don't do XML (or HTML) parsing/data extraction with regular expressions. XML has a tree structure and in general can't be described by a regular expression.
Use a tool such as XML::Simple or XML::Parser to handle such a job.
Just my 2 cents, -gjb-
In reply to Re: Unable to get more than one line
by gjb
in thread Unable to get more than one line
by winefm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |