in reply to Re: Problem With Splitin thread Problem With Split
Here's another stab:
s{(?<!\d|\.)(\d+)} {my $n=$1; $n=~s/(?<=\d)(?=(?:\d{3})+$)/,/g; $n }e; [download]