1,$s/<h2 [^>]*>\([^<][^<]*\)<\/h2>$/\
=== \1\
\

w
q
