Perl's split function & regexp

I'm currently working on parsing data, and need to split a large group of text (below is an example) at #.# or #.## or ##.## or (#) or (##).  Sometimes what I need to split it on uses tabs, spaces, or could be right next to a word (or referred to in the text following, but I don't want to split it there).  So my question, how do I use a regular expression in the split function to split at 4.3 for example grab the text up to 4.4 (and make note of the footnote (2).  I've got it grabbing the text up to 4.4 but for some reason it doesn't want to give me the 4.3 since it's splitting on that it's not retaining it in the line.  Here is an example of how I'm splitting it (I'm a regexp newbie, so don't be too harsh):

********************
Example text:

4.3 Dated as of June 22, 2000, by and among the company, as Issuer, and Group, as Guarantor. (2) 4.4 Amended and Restated Rights Agreement, dated as of February 11, 1999, between the company. (5) 4.5 Specimen of Class A common stock certificate. (2) 10.1 Agreement, dated as of May 31, 1990, between the company, and Amendment thereto. (6)*
***************

# I'm splitting the docs into paragraphs, and if the paragraph contains a #.# (etc) I'll grab it then...
if ($paragraph =~ m/([\s\s|\t][\d+][.|-][\d+|A-Za-z][\s\s|\t])/) {

# then I'll push the 'split'lines into an array for further breakdown
my (@newlines) = split(/\s\s\d+[.|-][\d+|A-Za-z]\s\s/, $paragraph);

****************************
From here however I'd receive:

Dated as of June 22, 2000, by and among the company, as Issuer, and Group, as Guarantor. (2)

...as output.

Any help is truly appreciated!
buzzbuzzAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ozoCommented:
$paragraph='4.3 Dated as of June 22, 2000, by and among the company, as Issuer, and Group, as
Guarantor. (2) 4.4 Amended and Restated Rights Agreement, dated as of February 11,
1999, between the company. (5) 4.5 Specimen of Class A common stock certificate. (2)
10.1 Agreement, dated as of May 31, 1990, between the company, and Amendment
thereto. (6)*';
my (@newlines) = $paragraph =~  /(.+?)(?=$|\s+\d+[.|-][\dA-Za-z]+\s+)/gs;
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.