Quote:
Originally Posted by jackie_w
@RbnJrg,
This is stretching my limited regex lookahead knowledge  The closest I could get ( tested in calibre) was something like:
Code:
Find:\b([a-z])\s+(?=(\w\s+\w))
Replace:\1
with case-sensitivity disabled.
I think you'd need to replace them one-by-one not 'Replace All'.
|
Thank you very much for your response Jackie. It almost worked

When I have, for example:
Code:
C H A P T E R V I I I
after applying your code, I have:
Where my strings are all in uppercase, I can use your code with \b([A-Z])\s+(?=(\w\s+\w)) and case-sensivity enabled and I can do the work at once. So, if it were possible to solve the issue, your RegEx is very usefull.