From: James Edward Gray II Date: 2004-09-28T06:55:06+09:00 Subject: Re: keep changes in string outside of scope? > What about: > > thestring.gsub!(/(\d{5})/, '\1') Oops, forgot the period. The replace string should be '.\1'. Sorry James Edward Gray II > That help? > > James Edward Gray II >