while ($data1 =~ m{(<BIB>.*?</BIB>)}gx) [download]
In reply to Re: Extract Data between Tags by tmharish in thread Extract Data between Tags by ppremkumar