Ruby pattern match all but last
===

I would like to create a ruby pattern to replace all but the last occurance of a letter.

for example, replace all:

    "}" 

with the string 

    "} something "
turn this string

    "{ anything }   { anything } { anything }"
to

    "{ anything } something    { anything } something  { anything }"

