in reply to Extract Data between Tags
while ($data1 =~ m{(<BIB>.*?</BIB>)}gx) [download]
Thank you. It worked.
I am pretty new to regex and Perl, so I appreciate your help.