View Single Post
Old 03-01-2025, 10:32 AM   #64
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: 8,887
Karma: 6120478
Join Date: Nov 2009
Device: many
Your find term must be a regex that looks for the words you want outside of tags. Add capture groups for the word you caught. Then your replace should add the span tag and the word as you specified.

So the smarts is in the regex find, and the replace function you write looks at the capture group to build the replacement any way you want.
KevinH is offline   Reply With Quote