![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: delete and substituteby vitoco (Friar) |
on Dec 09, 2009 at 12:50 UTC ( #811913=note: print w/replies, xml ) | Need Help?? |
Your sample data doesn't seem to be valid XML, so XML modules will fail. Try the following line as a replace for both of yours:
Beware that this won't remove two "adjacent" tags from different lines, because you are processing one line at a time.
In Section
Seekers of Perl Wisdom
|
|