View Single Post
Old 03-20-2015, 08:04 AM   #2
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,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by adv_dp_fan View Post
Trying to find a tool or utility to convert files from UK punctuation to US (single quote for dialog to double quote for example). Any help would be appreciated.
Both Sigil and Calibre Editor support Regular Expressions, which allow you to search for text enclosed by single or double quotes.

For example, you could use the following very simple expressions in Sigil and Calibre to replace single quotes with double quotes.

Find:‘(.*?)’
Replace:“\1”

(Make sure to select Regex from the Mode dropdown box.)

Note that you'll probably also have to convert British spellings to American spellings using VarCon or a similar tool.
Doitsu is offline   Reply With Quote