From: dJD col Date: 2013-07-10T23:16:11+09:00 Subject: Re: search a string with ruby then read what comes after the string in the same line Robert Klemme wrote in post #1114918: > On Tue, Jul 9, 2013 at 7:44 PM, dJD col wrote: > >> >> puts x >> >> end >> >> please advise. >> > > You need a regular expression with a capturing group. > > Cheers > > robert thanks -- Posted via http://www.ruby-forum.com/.