From: dusty Date: 2008-07-03T08:02:00+09:00 Subject: Re: need help for regular expression On Jul 2, 5:46 pm, Li Chen wrote: > 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)','')