{my $i = 0; s/(\.0)/++ $i == 2 ? "" : $1/eg; } [download]
Abigail
In reply to Re: Regexp: Only tr second occurance by Abigail-II in thread Regexp: Only tr second occurance by Evyn