Thread: Borkify ePUB
View Single Post
Old 01-26-2017, 06:10 PM   #18
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,745
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by valdearg View Post
There's most likely a better way to do it.
Both Sigil and Calibre Editor have a Saved Searches feature that allows you automate search and replace operations.

For Sigil you'll need to reformat your list as follows:

Code:
[search_entries]
1\Name=Anglicise/Anglicize
1\Find=\\baccessorise\\b
1\Replace=accessorize
2\Name=Anglicise/Anglicize
2\Find=\\baccessorised\\b
2\Replace=accessorized
3\Name=Anglicise/Anglicize
3\Find=\\baccessorises\\b
3\Replace=accessorizes
4\Name=Anglicise/Anglicize
4\Find=\\baccessorising\\b
4\Replace=accessorizing
size=4
(The above example file is only for the first four entries.)

Save the Saved Searches file with an .ini extension, import it in the Saved Searches dialog box, select the search group, click Load Search and Replace All. (You'll also need to select Regex and All HTML Files.)
Doitsu is offline   Reply With Quote