View Single Post
Old 02-02-2020, 04:54 PM   #4
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,176
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by occum View Post
I am looking for some advice on using a regular expressions when converting books in Calibre


I want to search for a series of words and identify them if they start with a lowercase letter or if they start with an uppercase letter.


Four example

Changing 'cute' to 'sweet'
and changing 'Cute' to 'Sweet'

Is there a way to specify this as part of a regular expression without having to duplicate each search and replace entry?

Thanks
From the calibre manual the first is a Tutorial the second is a reference.

All about using regular expressions in calibre

Quick reference for regexp syntax

bernie
gbm is offline   Reply With Quote