![]() |
#1 |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
Combine lines
Hi,
i use the following regex to combine lines. Code:
find: ([αάβγδεέζηήθιίκλμνξοόπρσςτυύφχψωώΑΆΒΓΔΕΈΖΗΘΙΊΚΛΜΝΞΟΌΠΡΣΤΥΎΦΧΨΩ,'’]</p>)\s(<p>[αάβγδεέζηήθιίκλμνξοόπρσςτυύφχψωώΑΆΒΓΔΕΈΖΗΘΙΊΚΛΜΝΞΟΌΠΡΣΤΥΎΦΧΨΩ,'’]) replace: \1 \2 there is any easy way to make a expresion for all those? Thanks |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
This quick and dirty regex should do the trick:
Find:([\p{Greek},'’][</ib>]*)</p>\s+<p>([<ib>]*[\p{Greek},'’]) Replace:\1 \2 However, I'd probably remove the comma in the second part of the regex since paragraphs are not likely to start with a comma. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
Thanks Doitsu!!!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I combine files? | Sydney's Mom | Calibre | 3 | 08-02-2013 10:16 PM |
Unmerge/Combine | soctec | Library Management | 2 | 12-26-2011 05:01 AM |
Touch Dark lines between lines of text | taming | Kobo Reader | 12 | 06-13-2011 07:20 PM |
Combine two libraries? | whoever | Calibre | 4 | 08-25-2010 11:00 PM |
Combine Books? | pghaworth | Calibre | 4 | 08-13-2010 10:25 AM |