Thanks Robert! This works beautifull! I have one question though. What exactly does the m[0]? Why zero? def parse(line) line.scan(/"([^"]*)"/).map {|m| m[0]} end -- Posted via http://www.ruby-forum.com/.