s/(?<=\d)(?=(\d\d\d)+$)/,/g