From: Hai anh Le Date: 2008-12-04T15:23:07+09:00 Subject: Re: reg exp Pe単a, Botp wrote: > >>puts s.gsub(/([Aa]|[Aa]n|[Tt]he)\W+/){"\n"+$1+"\s"} > > A method for detecting > a post-translationally modified protein with > a glycosyl group comprising contacting > the protein with > a glycosyl transferase enzyme and > a labeling agent, wherein > the labeling agent comprises > a chemical handle and > a transferable glycosyl group. Thank for your help, this is another way. I think I can use "\n" to mark, after that depend on it to divide. -- Posted via http://www.ruby-forum.com/.