From: David Masover Date: 2008-05-29T09:56:02+09:00 Subject: Re: Find/Replace In Files Using Lookup Table On Wednesday 28 May 2008 18:05:15 Eric I. wrote: > On May 28, 6:18 pm, Andrew Porter wrote: > 2. To parse an HTML file you can use the hpricot gem. Alternatively, > you could open the file and use regular expressions. I'd suggest hpricot or REXML if the files are reasonably well-formed and/or XML-ish, and regex if they're not.