View Single Post
Old 10-18-2021, 08:14 AM   #2
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,082
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by srv181 View Post
Please, please don't tell me to study the template language - I'm happy to make an appropriate donation for a solution to the problem - see screen-clip.
Many thanks!
I would start with something like (in Edit Metadata (in bulk) -> Search and replace):

Search field: Title

Search for: \(.*\) by \(.*\)

Replace with: \2

Destination field: Author

Note that this will not take any 'by' in the Title into account, so it's very basic.

Assuming this worked, you can do the same with Replace with: \1 and Destination field: Title to update the title.

Again, test whether it does what you want, this is off the top of my head. You will have to fix the author field yourself afterwards (thing like commas instead of & and stuff like that).
mbovenka is offline   Reply With Quote