Thread: search question
View Single Post
Old 04-02-2013, 03:23 AM   #4
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 grannyGrumpy View Post
I know the regex gurus will have some wonderful black magic to do this, [...]
No black magic, just using a "word boundary" (\b), more explanation can be found here:

http://www.regular-expressions.info/wordboundaries.html

This regex will match all cases of "ID":

Code:
\bID\b
I would also recommend using the great Spellcheck that was added into Sigil 0.7.0, which can list every single word in the EPUB.

Tools - Spellcheck - Spellcheck (Alt+Q)

Once at the Spellcheck screen, you can put a checkbox in "Show All Words". Then feel free to find whatever word you are looking for in the list, OR search for it by using the "Filter" box at the top.

You can then double click on the word in the list in order to jump to its position throughout the book.
Tex2002ans is offline   Reply With Quote