From: "Mikael Björkegren" Date: 2009-05-14T21:02:35+09:00 Subject: Re: Regexp Never mind i forgott [1] Thanks again > /(?:.*?\.)*(.*?monday.*?)\./.match('asdasd . asdas dasd .it is monday > morning. hello world') > => asdasd . asdas dasd .it is monday morning. > >> e.g.: >> /(?:.*?\.)*(.*?monday.*?)\./.match('asdasd . asdas dasd .it is monday >> morning. hello world')[1] >> => "it is monday morning" -- Posted via http://www.ruby-forum.com/.