theducks - thanks for your response. The code that I put in my last post was not developed from Calibre (as my user name may suggest - I am going returning to Sigil for editing ePub books since the Sigil is continuing to be developed); I am learning Python for making Sigil plugins and could not find a way to put single and double quotes into the replacement expression and I wondered how this can be achieved.
eschwartz - thanks for providing a solution. I am new to Python so I am trying to learn how to use it. I will try your solution later.
|