ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.
One of a set of tools we're offering as a way to say thank you for being a part of the community.
$test = "this is a test that i will test out now for a test run.";
$word = "test";
my $templine = $test;
while ($templine =~ m/(.....)$word(.....)/is)
{
$templine =~ s/(.....)$word(.....)//is;
print "$1$word$2\n";
}