Help for this page
foreach my $i (@n) { ... $i =~ s/^(\d{16}).*?(.{30}Some search tring.{30})/$1$2/gm; # again, +is the /m needed? }
perldoc perlrequick perldoc perlretut