Thread: Regex examples
View Single Post
Old 08-13-2019, 03:53 PM   #610
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 roger64 View Post
Sometimes, faulty words contain a digit. Like in French, mo1 for moi. Also, usually these words do not have a -.
Instead of Regex, you can also use Sigil's or Calibre's spellcheck:

(See my thread Suggestion: Spellcheck Enhancement (Numbers).)

Calibre's spellcheck shows "numbered words" by default.

To enable in Sigil's spellcheck, go into Edit > Preferences > Spellcheck Dictionaries and in the upper right is a checkbox Check Numbers.

Once you enable that, if you search for:

2

you can easily get a sortable list of all words with numbers.

In that thread, I detailed all the cases where it's very helpful ("20th century", "A4 Paper", OCR errors, [...]).
Tex2002ans is offline   Reply With Quote