Wow ! Fast and great reply
Thank you very much. I made a test with the db.rename_items function. Everything work fine
For all users perhaps it should be great to have an 'auto-correct function' in a futur release of Calibre. Not for all field but just for author and editor. For sample in my library i have:
Alfred E. Van Vogt - Alfred E Van Vogt - AE Van Vogt - A.E. Van Vogt - A. E. van Vogt - Alfred Elton van Vogt for the same author !
J.-C. Lattés - JC Lattès - JCL - JCLattès - Jean-Claude Lattès - Editions Jcl for the same editor !
Think the best way is to have a grid with the destination field as 1st column, the strict string to find in column 2 (I don't think that RegEx is useful for that), and to finish the replacement string in column 3.
Ok easy to say but not to do... Perhaps someone can build that kind of extension.
Thank you again for the working script.
Bernard