sed -n '/START1/,/END1/p' a.txt | sed '/END1/d'
awk '/START1/{flag=1} /END1/{flag=0} flag==1 {print}' a.txt