From: Anthony Walsh Date: 2006-10-25T11:57:13+09:00 Subject: html parsing using regular expressions I'm new to Ruby and trying to use regular expressions to parse an html file. The page is a large table with no spaces in the html code. I want to count the number of times or occurs. I'm stuck on trying to match every variety of I've tried op_file = File.read(htmlfile) if op_file =~ /()+/ but it catches the first