New at Perl, still grap regex stuff. I have a string " abcdefghi 22 33 44" and i want to print out the last 3 numeric valuse of the string. Below is what im trying, i get no output. Thanks in advance for any info.
$string="tttt 22 22 22";
$string=~ s/^.*:\s(\d{2}),\s(\d{2}),\s(\d{2})//;
print "$1 $2 $3";
$string="tttt 22 22 22";
$string=~ s/^.*:\s(\d{2}),\s(\d{2}),\s(\d{2})//;
print "$1 $2 $3";