From: Lucky Nl Date: 2012-04-06T00:30:12+09:00 Subject: Re: Want to get exact match from sentence Peter Hickman wrote in post #1055132: > With the last example why should "brown fox jumps" not match "The > quick @@brown fox jumps.# over the lazy dog."? > > The substring "brown fox jumps" starts at position 12. for my requirement i need to consider only single specialchar before and after word -- Posted via http://www.ruby-forum.com/.