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"; } }
In reply to Re^2: Regex help for printing alphanumeric
by Anonymous Monk
in thread Regex help for printing alphanumeric
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |