From: "Ian M. Asaff" Date: 2011-08-11T03:28:16+09:00 Subject: Re: Reg Ex Help Required --20cf305641e94892e404aa2ad782 Content-Type: text/plain; charset=ISO-8859-1 sorry, should be ruby-1.8.7-p334 :006 > str = "abc = 100.300" => "abc = 100.300" ruby-1.8.7-p334 :008 > /= (.*)/.match(str)[1] => "100.300" On Wed, Aug 10, 2011 at 2:26 PM, Ian M. Asaff wrote: > ruby-1.8.7-p334 :006 > str = "abc = 100.300" > => "abc = 100.300" > ruby-1.8.7-p334 :007 > /= (.*)/.match(str)[0] > => "= 100.300" > > > On Wed, Aug 10, 2011 at 2:20 PM, saurabh a. wrote: > >> Hi, >> >> Please help me with regular expression. >> >> str = "abc = 100.300" >> >> i want to write a regular xpression for getting the value after =, i.e. >> 100.300, i mean reg ex should return value after = >> >> Please help. >> >> Thanks >> Saurabh >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> > --20cf305641e94892e404aa2ad782--