From: Bob Hatch Date: 2011-02-03T03:51:07+09:00 Subject: Help with outfile.write(line) unless line =~ search_text Rather than having the output write the line unless it equals search_text, I need it to write when it equals search_text. I know that should be easy, but I can't find the syntax. outfile.write(line) unless line =~ search_text -- Posted via http://www.ruby-forum.com/.