Help for this page
use strict; use warnings; ... { print "$1\n" if !/^TAGS/ && /(.*?)(?=TAG2)/; }
print "$1\n" if !/^TAGS/ && /(.*?)TAG2/;