View Single Post
Old 02-07-2012, 10:20 AM   #3
Paxman53
Connoisseur
Paxman53 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
Quote:
Originally Posted by cybmole View Post
easy with regex

find </p>\s*<p class ="calibre4">([a-z])
replace \1

NB the replace line has a space in front of \1

works with v4.2 regex, I have not upgraded to 0.5.1 yet.

pretty sure there are other threads on how to do this, a varienat for example is to test end of previous line for not fullstop not quote not questionmark

Tried this, unfortunately it didn't work : got - the search term was replaced 0 time(s) - although I could see an example right in front of me.

Specifically I put in:

Find:</p>\s*<p class ="calibre4">([a-z])
Replace: \1

I am using Sigil V5.0 - is the Regex version the same?

As to your variant I'm not even sure how to do that as I am virtually still a novice as far as regex is concerned - I can copy someone's else's suggestion (although not a clue as to what it means) and if it works that is great - if it doesn't I have no idea what to do
Paxman53 is offline   Reply With Quote