From: Hassan Schroeder Date: 2011-08-23T00:11:16+09:00 Subject: Re: Regex find everything between On Mon, Aug 22, 2011 at 7:53 AM, Keith Raymond wrote: > I have a html document that is being spit out to me as a string. > I'm using regular expression to find ... > If there is  a completely better way to do this, I'm all ears as well. There is: nokogiri -- it's made for exactly this. Trying to parse XML or HTML via regex is a path to tears and insanity. :-) -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan