From: nobu.nokada@... Date: 2002-12-08T12:24:07+09:00 Subject: Re: PLEASE HELP w/ regular expression Hi, At Sun, 8 Dec 2002 12:19:21 +0900, Dmitrii PapaGeorgio wrote: > > I have a group of data inside a text file like this > > Disregarded Entities: The International Tax Aspects > by R. Peroni, ABA Tax Section 2002 > ..ns;title(disregarded entities w/3 international) > > > This is EXACTLY how it is formatted. Does anyone here know any regular > expression to slice it like this? so I can have them as single strings? > > > Disregarded Entities: The International Tax Aspects > by R. Peroni > ABA Tax Section > 2002 > ..ns;title(disregarded entities w/3 international) gsub!(/ {8,}/, "\n") -- Nobu Nakada