From: Paul Battley Date: 2006-07-29T09:09:20+09:00 Subject: Re: Finding "\" in a string On 29/07/06, William James wrote: > >> puts "\\foo\\bar".gsub(/\\/, '\&\&' ) > \\foo\\bar Nice solution.