View Single Post
Old 12-06-2015, 07:34 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
You can't really compare two fields.

What you can do, maybe, is the following:

Search field: {template}
Template:
Code:
program: re(field('series'), field('authors'), '')
Search for:
Code:
(.*)
Replace With:
Code:
\1
Destination field: series

...

This should use as the source, a template which regexes out the content of the "authors" field from the series field, and then replace the series field with the contents of that source template.
eschwartz is offline   Reply With Quote