subject = '1-24,,{(2000.00,0.0),(2000.00,8.0),(450.00,72.0)},{(72.0,14.5,14.5)},N,Y,N;'
regex = /("[^"]*")|,/
replaced = subject.gsub(regex) {|m|$1}
puts replaced
c3ViamVjdCA9ICcxLTI0LCx7KDIwMDAuMDAsMC4wKSwoMjAwMC4wMCw4LjApLCg0NTAuMDAsNzIuMCl9LHsoNzIuMCwxNC41LDE0LjUpfSxOLFksTjsnCnJlZ2V4ID0gLygiW14iXSoiKXwsLwpyZXBsYWNlZCA9IHN1YmplY3QuZ3N1YihyZWdleCkge3xtfCQxfQpwdXRzIHJlcGxhY2VkCg==