View Single Post
Old 09-07-2022, 04:05 PM   #53
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Those full uppercase first few words of a chapter are pretty annoying. They are ugly and very intrusive when trying to read.

I pieced together this regex that works well in most cases, except for the usual "I" and proper nouns. I can flick through a hundred chapters in a couple of minutes, only stopping when I have to re-capitalise a name.

Find... </span>\b\s?[A-Z’]+(?:\s+[A-Z\.’,\s]+)*\b

Replace... regex function - Lower case (ignore tags)
Karellen is offline   Reply With Quote