From: Alder Green Date: 2006-04-18T18:51:00+09:00 Subject: Re: how i can get value in string with pattern "Who is this (//mystring//)".scan(Regexp.new('//(.*)//')).first.first #=> "mystring" On 4/18/06, Jakov wrote: > how i can get value in string with pattern or regular experssion > > I have this string: > > "Who is this (//mystring//)".gsub(?, "") > > How i can get 'mystring' if it's conclude in mystring. > > > > > -- > Posted via http://www.ruby-forum.com/. > >