Don't use a regex to manipulate XML, use a proper parser, such as XML::Twig. Using super search you would be able to find many posts discussing this, including XML parsing vs Regular expressions.
Martin
In reply to Re: Regular expression to replace xml data
by marto
in thread Regular expression to replace xml data
by dalegribble
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |