From: Craig Jolicoeur Date: 2009-04-29T11:33:31+09:00 Subject: Re: Issue with regexp pattern matcher withing String#gsub I'm just changed up how I'm doing the matching and am going with this instead html_string.gsub!( /src=["'](\S+\?\d*)["']/i ) { |m| 'src="' + $1.split('?').first + '"' } -- Posted via http://www.ruby-forum.com/.