I've got as far as this
Code:
program: test(select(field('identifiers'),'amazon'),'1 ','')
which is how my goodreads identifier column works, but it's a simple yes or no query, either there is a goodreads identifier (an icon appears) or there isn't. It's the next bit, where I think I'll need a regex where I'm stumped.