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)
print $a.gsub /,?\s\s+/, “\n”
Where $a is the text in question.
-Michael
···
On Sun, Dec 08, 2002 at 12:19:21PM +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)