View Single Post
Old 08-20-2024, 11:49 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,622
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by neyet View Post
Sorry, what is regex? Isn't regex = registry editor, which is part of Microsoft Windows?
No, regex is short for Regular Expression. It is used for pattern matching, so it becomes extremely useful when editing and repairing an ebook, because it lets you match patterns (instead of characters) to find and replace. All useful for bulk reformatting.
eg, instead of searching for all combinations of commas, periods, semi-colons and other punctuation marks, that erroneously have a space before them, you could use something like \s(\p{Po}) to find them all at once instead of constantly changing the search string, and then replace it with \1 which removes the space.

You can read more here... https://www.computerhope.com/jargon/r/regex.htm
Karellen is offline   Reply With Quote