Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2014, 06:13 AM   #1
Cubis
Junior Member
Cubis began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2014
Device: Kindle Paperwhite
S&R line break

Hi there,
I have simple question: How to include linebreak to Search & Replace rule to remove it.
Code:
Some text here but some long word appear Haku-
namatata. 

{S&R rule: '-<linebreak>' to '' }

Some text here but some long word appear Hakunamatata.
It appears after PDF conversion and make mid-line linebreak which i want to get rid of.
Cubis is offline   Reply With Quote
Old 03-11-2014, 02:35 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
"\n" is the newline character (in regex mode).

You may want to take a look here: http://www.regular-expressions.info/ to get a good intro to regular expressions.
eschwartz is offline   Reply With Quote
Old 03-11-2014, 08:02 PM   #3
Cubis
Junior Member
Cubis began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2014
Device: Kindle Paperwhite
Solution

The S&R edits imput PDF converted to html so '- <br>.(?si)' where '.(?si)' is expression for any character (newline included) helped.

There i found my solution.
Cubis is offline   Reply With Quote
Reply

Tags
line break, linebreak, s&r


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inexplicable line break Gretsch Conversion 0 01-24-2014 02:49 AM
Line Break Madness on Nook AuthorGreg ePub 77 11-25-2013 10:55 PM
Line break within Headers? Lori Reeser Sigil 7 02-15-2013 07:27 PM
Correcting for a missing line break Tango Mike Sigil 31 07-28-2012 05:30 AM
how to insert break-line schuster Recipes 1 05-24-2011 03:19 PM


All times are GMT -4. The time now is 10:10 AM.


MobileRead.com is a privately owned, operated and funded community.