my @ar = split /,(?!\s), $str; [download]
In reply to Re^2: Split on comma without whitespace after by moritz in thread Split on comma without whitespace after by DreamT