in reply to remove and insert

Hi Try this code for example,

undef $/; open (INP, 'text.txt'); $string = <INP>; close INP; $string =~s#"...Row AutoFitHeight="0"><Cell><Data ss:Type="Strin.."#ne +wstring#gsi; open (OUT, ">".'text1.txt'); print OUT "$string"; close OUT;
Regards
perlsen