|
|
#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,763
Karma: 24088559
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!!!
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I combine files? | Sydney's Mom | Calibre | 3 | 08-02-2013 11:16 PM |
| Unmerge/Combine | soctec | Library Management | 2 | 12-26-2011 06:01 AM |
| Touch Dark lines between lines of text | taming | Kobo Reader | 12 | 06-13-2011 08:20 PM |
| Combine two libraries? | whoever | Calibre | 4 | 08-26-2010 12:00 AM |
| Combine Books? | pghaworth | Calibre | 4 | 08-13-2010 11:25 AM |