From: John Smith Date: 2010-09-18T04:02:07+09:00 Subject: search and replace Hi everyone, I want to be able to run a program that will do a bunch of searches specified in an array of strings, and replace the first occurrence of those strings with strings specified on a second array for a given text file. What would be the best way to do this? Ted. -- Posted via http://www.ruby-forum.com/.