From: Alexander Jesner Date: 2010-02-27T07:39:34+09:00 Subject: Re: Regex for "not matching" an unneeded prefix substring? On 02/26/2010 23:06, Jet Koten wrote: > and then realized I actually need to be able to just put #{condition} by > itself in the puts and not use #{condition.chomp[8, condition.length]} > Insert condition = condition.chomp[8, condition.length] after condition = item.search(".condition").text and you can use #{condition} in the string. Regards