Thread: title tag to h1
View Single Post
Old 03-16-2026, 12:45 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,448
Karma: 6734148
Join Date: Nov 2009
Device: many
Yes, use Sigil's Find and Replace in Regex mode.

Have you ever searched using regular expressions before?

The idea is to find all the text between the opening title tag (while capturing the title tag contents) to the end of the opening body tag, then creating a replacement using the full capture with the addition of h1 tag with the captured title value appended.

This is also something you can easily do in a Sigil plugin if you know python, too.

Last edited by KevinH; 03-16-2026 at 01:20 PM.
KevinH is offline   Reply With Quote