View Single Post
Old 01-09-2015, 03:45 PM   #7
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Johann Cat View Post
Do you know if I can do this using openoffice's text editor?
Hmmm, from what I was quickly able to find, OpenOffice Writer only allows you to search PER PARAGRAPH. It doesn't let you search across paragraphs.

I would also avoid one of those fancy GUI Word Processors if you can, because they add A TON of cruft on top of the text (fonts, font sizes, spacing, etc. etc.).

Quote:
Originally Posted by Johann Cat View Post
I have the "alternative" find-replace app installed.
Hmmm, what is this "alternative" you speak of? Is this an addon for OpenOffice? I am not familiar at all... perhaps it allows that functionality.

Quote:
Originally Posted by Johann Cat View Post
Or should I use calibre? If neither of those, what is the regex editor of choice?
I personally use Notepad++ for some basic editing of TXT/HTML files.

For EPUB, you can also use Sigil or Calibre's "Edit Book" feature.

It all depends on what the source format is of this document you are getting. If you got it from Gutenberg, I assume it is TXT or EPUB?

If you link right over to the Gutenberg copy you are working on, perhaps we could figure out an even more specific answer to remove these page numbers.

Quote:
Originally Posted by theducks View Post
Be aware: There are various dialects of REGEX. The Basic code above usually works in all, but be aware, there can be differences.

[...]
Yep yep, I definitely know that Microsoft Word + Open/LibreOffice have some differences with their version of Regex.

The Regex I listed above should work in: Notepad++, Sigil, and Calibre (and whatever other program uses that same Regex engine).

And good list of warnings, it always should be stressed that you should SAVE BACKUP COPIES BEFORE YOU DO HUGE REGEX CHANGES.
Tex2002ans is offline   Reply With Quote