On Jul 2, 5:46 ¨Âí¬ Ìé Ãèåî ¼ãèåîß®®®Àùáèïï®ãïí¾ ÷òïôåº > Hi all, > > I wonder what is the regular expression for this line. What I try to do > is to remove "(some text here)" from a long string. > > Thanks, > > Li > > string=......(some text here)....... > -- > Posted viahttp://www.ruby-forum.com/. This works. "......(some text here).......".sub('(some text here)','')