while(<>) { if(/^Author\s+:\s+/) { print "\n"; } print; }