If you're parsing XML, then you should really be using XML::Parser (or one of its subsclasses to do it. Any regex-based solution is bound to fail at some point.
Originally posted as a Categorized Answer.
In reply to Re: Strip that XML!
by davorg
in thread Strip that XML!
by redbeard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |