I am trying get the following out put using the below input but nothing gets printed
INPUT:Info: Product Line is MMS 3.3
OUTPUT: MMS 3.3
foreach my $match (@verifysrclog) { if ( $match =~ /Info: Product Line is (\w+)/ ) { $product_line = $1; print "$product_line\n"; } }
In reply to Regex help for printing alphanumeric by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |