perl -n -E 'BEGIN{ $/=" LR_PLANE"}; m/FILTER/ and print "$_\n" for split "\n";print "\n"' Your_file.txt