in reply to Regex for spliting
for my $str (@strings) { my @array = split /:/, $str; print "$array[-1] \n"; } [download]