Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 10-06-2009, 04:53 PM   #16
gargoyle67
Addict
gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.
 
gargoyle67's Avatar
 
Posts: 231
Karma: 180249
Join Date: Mar 2009
Device: Kobo Aura
Ah ok, So if I want to get rid of a whole line of blank I should count the spaces across the page ? And enter that into the RE box.
EDIT** Nope just says search key not found when I click replace

Last edited by gargoyle67; 10-06-2009 at 04:57 PM.
gargoyle67 is offline   Reply With Quote
Old 10-06-2009, 05:34 PM   #17
Jack Tingle
Punctuation Fetishist
Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.Jack Tingle ought to be getting tired of karma fortunes by now.
 
Jack Tingle's Avatar
 
Posts: 553
Karma: 1030920
Join Date: Nov 2008
Location: The Bluest Commonwealth In East America
Device: Kindle PW, Nexus 7 (2013), Galaxy Player 5 (YP-G70C)
You could do that, but it might not be the most reliable method. Refer to Jellby's link and find the repeat character. Then a string consisting of a caret, a space, the repeat character, and a dollar sign should find all of the space-filled lines, no matter exactly how many spaces there are in each one. Replace those with whatever you need, even nothing. You may need to repeat that with the newline character (\n I think) at the end as well, if your page has some odd origin.

Regular expressions are very powerful, very simple in principle, and very difficult to use if you don't use them often. I was once much better at them. I'm way out of practice.

Regards,
Jack Tingle
Jack Tingle is offline   Reply With Quote
Old 10-06-2009, 08:32 PM   #18
rogue_ronin
Banned
rogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-books
 
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
I suspect some confusion about ^[sp][sp]$ or ^[space][space]$.

I'm not an OO user, but with this regex example, I think that the folks giving the above examples were using [sp] and [space] to indicate actual spaces. Because spaces are hard to see in a text explanation.

So the literal line would be:

Code:
^  $
m a r
rogue_ronin is offline   Reply With Quote
Old 10-07-2009, 03:17 AM   #19
gargoyle67
Addict
gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.gargoyle67 can program the VCR without an owner's manual.
 
gargoyle67's Avatar
 
Posts: 231
Karma: 180249
Join Date: Mar 2009
Device: Kobo Aura
Thanks for the comments guys, I found this thread:
http://user.services.openoffice.org/...php?f=7&t=8524
And found just doing the $ under RE got rid of all my spaces, Now I need a way to separate my CHAPTER 1, 2 e.c.t to finish things off anyone know what RE would do this, Thanks.

Last edited by gargoyle67; 10-07-2009 at 08:41 AM.
gargoyle67 is offline   Reply With Quote
Old 10-07-2009, 04:58 AM   #20
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 2,336
Karma: 3943904
Join Date: May 2008
Location: Launceston, Tasmania
Device: Kindle3, Kobo Touch, Sony PRS T3, Nexus 7, iPad mini
Quote:
Originally Posted by Jellby View Post
May this page be useful?
Thanks

Regards, Alex
AlexBell is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting eBooks with Open Office Writer krbunn Self-Promotions by Authors and Publishers 5 10-16-2010 09:00 AM
Importing Open Office HTML in Sigil paulpeer Sigil 17 03-18-2010 05:23 AM
SmartQ 7 - Open Office ? Nation.A.List Alternative Devices 5 06-29-2009 01:51 PM
Newbie trying to correctly format ebook with open office gargoyle67 Workshop 13 03-26-2009 07:22 AM
Open Office 3.0 released hidari Lounge 18 10-20-2008 06:05 PM


All times are GMT -4. The time now is 08:33 PM.


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