in reply to
regular expression for getting text between 1. and 2.
$line =~ /^1[.)](.*)2[.)]$/;
Is that what you meant?
Comment on
Re: regular expression for getting text between 1. and 2.
Download
Code
In Section
Seekers of Perl Wisdom