From: "phil.swenson@..." Date: 2007-05-04T04:35:05+09:00 Subject: Re: search and replace text in files > > Are there any libraries that perform a search and replace? > > String#gsub > I meant on a file... I was looking for something like File.search_and_replace(file_name, regex_search, replace_string) But I guess I can simply pull a file into a string and then do a gsub and write the file out. Thanks, phil