From: Jester Mania Date: 2010-12-03T03:01:07+09:00 Subject: Re: Text Parsing Help Thanks for the help! I have a question though regarding Peter's reply: >> s = 'car\nplane\ntrain \n boat' # because of ' the \n is not interpreted as newline Currently, my code is: IO.readlines("input.txt").each do |line| lineItem = line.gsub(/\\n/, "\t") end How would I use the ' ' with the line variable? -- Posted via http://www.ruby-forum.com/.