in reply to RegEx question

Please test it before giving me the solution.

Is this another "please do the work for me" thing? If you want good answers, a nice way is to provide the testing code yourself, so that people just need to plug in their regexes.

Anyway, my approach would be /^(?!.*, $)/

Perl 6 - links to (nearly) everything that is Perl 6.