require 'csv'people = CSV.read('text.txt')laura = people.find { |person| person[0] =~ /Laura/ }puts laura.inspect//File: text.txtF,M,M,45L,C,F,23D,P,F,38