in reply to Re: Re: Regexp: Only tr second occurance
in thread Regexp: Only tr second occurance

There are several ways of doing that. One is:
{my $i = 0; s/(\.0)/++ $i == 2 ? "" : $1/eg; }

Abigail