View Single Post
Old 02-11-2012, 12:20 AM   #1
murphycc
Member
murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.murphycc ought to be getting tired of karma fortunes by now.
 
Posts: 14
Karma: 475352
Join Date: Feb 2012
Device: Kindle Paperwhite 2
Regular Expression: does not replace with spaces

Since the 'remove spacing between paragraphs' conversion option is not working for a particular book I'm converting, I wanted to use a regular expression like this:

(search field):
\.<br/><br/>

(replace field):
.<br/> <-- 5 spaces after last break (they only appear as one in this post)

It works in that the extra line is removed. If I replace the 5 spaces with characters, it works. Using '\ ' does not work either. I tried inserting a tab by using \t but that did not work either.

Anyone know why my spaces are not appearing in the converted output? Or, do you know why the 'remove spacing between paragraphs' option is not working?

Thanks,
Chris
murphycc is offline   Reply With Quote