use strict; use warnings; $/ = '0AVERAGE COMPOSITION IN PINS.'; while () { next if ! /EID: Pu-238/; chomp; print "$/$_"; } __DATA__