Thread: F/R Question
View Single Post
Old 01-12-2015, 03:18 AM   #18
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
Quote:
Originally Posted by theducks View Post
What I don't know is how to do this as a single pass replace
With Calibre editor,
1- Search all.
2- Use Regex-Function with:
return match.group().replace ('½','1/2').replace ('⅓','1/3').replace ('¼','1/4') ..... etc.

Last edited by jbacelar; 01-12-2015 at 03:24 AM.
jbacelar is offline   Reply With Quote