Lacking in regular expressions knowledge, I am having difficulty replacing the string as shown: "(linux) alpha/beta" Essentially, there may be spaces such as: " ( linux)alpha / beta" or maybe "(linux) alpha / beta" What I am trying to replace that whole string with is just the last word after the / so my string will just be "beta". -- Posted via http://www.ruby-forum.com/.