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