Looks like other responders did not understand the query so let me reword it. You've got some invalid XML-like stuff that you want to (attempt to) fix so that you end up with parsable XML. Do I have it right?
You may want to have a look at the PolishHTML subroutine within HTML::JFilter
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re: Regular expression to replace xml data
by Jenda
in thread Regular expression to replace xml data
by dalegribble
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |