See Perl Script New Line problem, your twin of identical question
In reply to Re: Extract Multiple Tags by Anonymous Monk in thread Extract Multiple Tags by stallion