From: Joel Pearson Date: 2013-02-13T01:12:07+09:00 Subject: Re: text include, searching using a part of the word, storing the whole word if found Gotta love Regexp irb(main):001:0> e = '???x.Y??? and then ???a.m???' => "???x.Y??? and then ???a.m???" irb(main):002:0> e.scan /\?{3}\w+\.\w+\?{3}/ => ["???x.Y???", "???a.m???"] -- Posted via http://www.ruby-forum.com/.