Macro to stupefy quotes by Emurasoft, StupefyQuotes.jsee (246 B) - This macro converts educated quotes to stupefied quotes. For example,‘abc’will be converted to 'abc'.
See forum topic: http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=19&forum=4&post_id=49
I took this macro and modified it to replace *all* smart quotes, both single and double with their ' and " counterparts. It previously only worked on paired single quotes, which rarely occur in English. Macro follows:
document.selection.Replace("‘","\x27",eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace("’","\x27",eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace("“","\x22",eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace("”","\x22",eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);