View Single Post
Old 02-13-2017, 11:46 AM   #1
peekpoke
Enthusiast
peekpoke began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Dec 2013
Device: Kindle/Android
Search/Replace MOBI-ASIN into AMAZON ID (I know this is only for USA)

When I import books from my Kindle to Amazon, they have a USA MOBI-ASIN.
I'd like to use the bulk search and replace of Meta-Data to replace all MOBI-ASIN into AMAZON, but only for those with a 10 character ASIN.


If I use the identifier search, I can't figure out how to replace the mobi-asin:, only how to copy it to amazon. If I use search for identifier mobi-asin, and use identifier amazon as the destination, that copies the id to the AMAZON, but does not replace it.

If I use {template} {indentifiers} to for search field/template
Search for: mobi-asin:([a-z0-9]*)
Replace with: amazon:\1

Then it does replace, but matches the non 10 character IDs I don't want to use (won't work).

I tried ([a-z0-9]{10,}), but then it just matches the first 10 characters, and still replaces the mobi-asin with amazon.

I tried this:
mobi-asin:([a-z0-9]{10,})([\s]*)

But I'm unsure if it will work in all cases, and messes up with duplicate AMAZON IDs if I do it for books that already have a AMAZON ID.

I do wish there was an option in MOBI/AZW3 import to transform the MOBI-ASIN into AMAZON if I check a box saying "yes I know this only works if the book was purchased in USA".
peekpoke is offline   Reply With Quote