Thread: Regex examples
View Single Post
Old 07-26-2025, 05:50 PM   #792
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,816
Karma: 6000000
Join Date: Nov 2009
Device: many
The use filter replacements replace all and only check the boxes where the replacement works. Then repeat for a different replacement.

Or

Then use a regex to capture all the cases you want and use python function replace to determine when and where and what to insert it. Then use filter replacements on it.
KevinH is offline   Reply With Quote