http://www.perlmonks.org?node_id=861147


in reply to RegEx question

Never one to pass up a challenge...
/^[^,]*(?:,\s*[^\s,][^,]*)*$/

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
Nos autem praedicamus Christum crucifixum (1 Cor. 1:23) - The Cross Reference (My Blog)