regexp search/replace not working as expected on individual authors in source field
Hi, I've been using the "search and replace" (bulk edit) dialog with no problems for, but suddenly hit an unexpected behaviour. I'm using "authors" as my search field, and (my custom, multiple-value field) "editors" as destination. I want to copy a subset of the authors in each book as editors. e.g.:
authors: jim (ed) & bob & bill (ed) => editors: bill & jim
I tried the following regexps:
(.+?) \(ed\)
^(.+?) \(ed\)$
but in every case I'm seeing *all* authors copied, e.g.:
authors: jim (ed) & bob & bill (ed) => editors: bill & bob & jim
I can't figure it out. Any ideas? Thanks! Mike
|