in reply to Re: Regex help for printing alphanumeric
in thread Regex help for printing alphanumeric
Actually my input is wrong...there is no space ,instead there is a ".",it still doesnt print,basically I want to print anything after Info: Product Line is
use warnings; foreach my $match ('Info: Product Line is MMS.3.3') { if ( $match =~ /Info: Product Line is (\w+)/ ) { $product_line = $1; print "$product_line\n"; } }
|
|---|