while( <> ) { last if /^MYTAG1/; print }