View Single Post
Old 07-13-2016, 01:45 PM   #33
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Turtle91 View Post
Oh young padawan. Know you do not the full powers of the regex!
Best thing I've read today. And sooooooooooooooooo true.

Quote:
Originally Posted by Psymon View Post
Oh, I'm sure! But for the moment it's hard for me to imagine having a need for "more" than what I've learned (or semi-learned) recently.

I'd be more than happy to hear (read) an example of something "totally awesome" that you feel has applicability in coding ebooks, beyond the sort of thing that I've been doing (and that I can imagine) -- indeed, I'd love it! Inspire me!
Well...if you are not dealing with scanned books, some of the "most bestest" regexes might not ever be needed by you, but BOY, one of the first things I ever did, that I learned to love, love, love was when I had a scanned novel, some 500+ pages long, from print, and OHSWEETMOTHER, all the running heads and page-number-footers were, of course, left IN. As real text, rather than Word-type "headings" or "footers." Urrrrrrrrrghhhhhhhhhhhh.

In ye olden-olden days, yes, I would have tried some combination of regular searches, plus "go to next," plus manual deletion, for all of that. But when you discover that you can clean a boatload of it, using regex? Oh, baby!!!

The Regex-jedis here, like Turtle, will have other examples, I'm sure. I'm dashing out today, (<grumble, more medical torture>) so I'm not leaving actual EXAMPLES--shame on me--but I have faith in my brothers of the regex-sword.

There's almost NOTHING that excites a good display of showmanship (or showomanship) around here like a regex example!

(Also--hath thee not gone by the regex pinned thread???? Twooly?)


Hitch
Hitch is offline   Reply With Quote