in reply to Extract Multiple Tags

See Perl Script New Line problem, your twin of identical question