Help for this page
use strict; use warnings; ... foreach my $line ( @strings ) { print "Matched $line.\n" if $line =~ /to (.*?) is/i; }
Matched data to gbsdff03dfif7 is. Matched data to HP650dfgd-Af452 is.