On Wed, Apr 2, 2008 at 9:27 AM, Robert Dober <robert.dober / gmail.com> wrote:
>  Use scan
>
>  "a,b,c".scan(/\w+,/) --> ['a,', 'b,']
>  and in order to have the whole match you have to join the result of scan again.
>
>  HTH
>  Robert

Yeah, I was thinking of that regexp also, but I assumed the OP wanted
the last word letter before a comma.

Oliver, what is it that you're looking for?

Todd