From: geetha Date: 2007-06-20T20:57:30+09:00 Subject: Re: search ------=_Part_86027_900760.1182340649837 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I tried your concept. But it wont escape the special character what the regexp return. For example , "widely implemented" is my search string , the regular expression return like (?-mix:widely\\\s+ ). So while the time of matching it had a problem. So I am working on that. On 6/20/07, Noorul Islam K M wrote: > > > I am having one file . In that file more than 100 lines are there. > > I have to search some three words . The first two words there in first > > line > > and the another one word is there in > > another one line means How can I match that 3 words. > > Why don't you try ruby regexp? > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_86027_900760.1182340649837--