reset pets.txt
sed '3,6{/This/d;}' pets.txt