Quote:
Originally Posted by mrmikel
search: I[a-z]
replace:l\1
I have found for this to work in calibre editor it has to be search: I([a-z])
in order to pick up the following letter.
AND even though you are indicating small letters [a-z], it will pickup capital and lowercase unless case sensitive is also checked. In this way it is not exactly as you would expect.
|
That will still pick up every single instance of a capital "I" in the book, as long as it isn't the actual word "I".
If you leave off the captured "([a-z])" then you would get the same results (except for the word "I"), and could replace with "l".
Much better to look for anything-but-punctuation
before the "I"... as I did in post #2.
And
negative lookbehind means you don't have to capture anything, you can just replace the letter itself.