From: gf <8si.greg@...> Date: 2010-04-18T18:44:17+09:00 Subject: Re: Elegant Solution to a Seemingly Simple Problem? For your contemplation: doc = Nokogiri::HTML(open(url)) raw_course_list = doc.css("tr").collect { |row| t_row = row.css("td").collect { |column| column.text.strip } t_row.insert(2, "") if (t_row[1] == "TBA") }.reject{ |i| i.size != 4 } This isn't guaranteed to work because we're dealing with pieces of the HTML you are parsing. Give us a sample with ALL the variations in it and we can stop shooting in the dark.