- or download this
#!/usr/bin/perl
use strict;
...
stringb
junk data
junk data
- or download this
if ( @{$header{$section}} = /stringa/gm ) {
print "matched on stringa\n";
...
if ( @{$header{$section}} = /stringc/gm ) {
print "C match\n";
}
- or download this
Found the following strings within body *** 3993.23384j
stringc
...
Found the following strings within body *** 3993.23993k
stringa
stringb
- or download this
Found the following strings within body *** 3993.23384j
C match
...
Found the following strings within body *** 3993.23993k
matched on stringa
regex on string b