Quote:
Originally Posted by phossler
Yes, but if there's 100 chapters in the book that all have the upper case leadin for the first paragraph, then I'd have to select the text for each chapter manually.
I was only wondering if there was a way to find a group of upper case words at the beginning of a paragraph and do all 100 at once
|
If you like, I can repeat my advice:
"capture the first three words and apply the default, builtin regex function"
If you can find a way to restrict the regex to only the first three words using Sigil's S&R with the PCRE replacement extensions, then you can restrict it to only the first three words in calibre, and use the function replace instead. I am afraid theducks was entirely on the wrong track there.
Quote:
I'll try to avoid arguing with myself
|
It makes it confusing to read:
Code:
ALLCAPS ALLCAPS ALLCAPS lower case
Should become:
Code:
Allcaps allcaps allcaps lower case
When the truth of the matter is that the second line is not, in fact, still all caps despite the words saying "allcaps" (and being either titlecased or lowercase).