From: Chris Hoeppner Date: 2008-12-29T18:59:33+09:00 Subject: Re: Regular Expression Trouble Tim Greer wrote: > > .* should probably be set to non greedy .*?, so it doesn't grab things > you don't want. > > /.*?s?(\d?\d)x?e?(\d\d).*?\.(\w{3})$/i > This one actually worked. I tried non-greedies all over, but there. Thanks!! And thanks also for the hint at rubular. It's awesome. -- Posted via http://www.ruby-forum.com/.