Insert in place with regex:
sed -e -i '/pattern/r file.txt' input.txt
1h;1!H;${;g;s/<h2.*</h2>/No title here/g;p;}
Sed sur plusieurs lignes ? Galère.