Quote:
Originally Posted by kacir
Another solution with the newest Calibre would be to import the books as they are, and then process Authors field using Regular Expressions with backreferences.
So:
Select books
Right click, select Bulk Edit Metadata
go to Search and Replace
select Search mode Regular Expressions
Search for ([^,]*), (.*)
Replace expression \2 \1
and, of course select Search Field and Destination Field "authors"
|
Your search expression is better than mine, I think... Although I used non-greedy quantifiers, it should be safer to exclude the comma.