#!/usr/bin/env xsh $file = open "myfile.xml"; insert comment "BOX1" replace //span[id="box1"]; save;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: Replacing everything in between using s///;
by merlyn
in thread Replacing everything in between using s///;
by JayBee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |