Quote:
Originally Posted by DNSB
Looking at your screen, I would agree with the comment that Higgles made. Those lines might look okay on a system with a wider page width but the Mini is showing that each line in your original is now it's own paragraph. That is where the search I suggested in my earlier post comes in -- locate all the lines ending in a lower case letter and join them to the next line.
In Sigil, I use something like:
Find: [a-z]</p> <p class="para">
Replace: single space character
Then hit find, if you want to replace, hit replace, otherwise hit find again. If you are feeling enthused, you can try hitting replace all or replace all after selecting current file instead of all files to do it one file at a time.
Repeat the find/replace looking for commas followed by the end of paragraph and repeat again for any other characters that you choose.
Regards,
David
|
This would replace the last letter of every found word aswell, I tend to make that mistake and have to start from scratch. :P
The proper regex for the operation would be something like:
Find: ([a-z])</span></p>\s+ <p><span class="font10">
Replace: \1 (\1single space character)
Find: ([a-z]),</span></p>\s+ <p><span class="font10">
Replace: \1, (\1,single space character)
Find: ([a-z])-</span></p>\s+ <p><span class="font10">
Replace: \1 (\1)
<p><span class="font10"> has to be replaced by the ones used in your file.