View Single Post
Old 02-14-2025, 08:37 AM   #73
maxthegold
Member
maxthegold began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2011
Location: Weston-super-Mare, U.K.
Device: Kobo Libra 2
Quote:
Originally Posted by Alinara View Post
I want to delete the first author in different books. The author is different in name, so I need to select every 1 value in the author list. But if I try search regex it always use the phrase on every value on the multivalue author colum.

Author a b ::: c d

search (\w+)\s(\w+)
replace \2

result b ::: d

wished c d

Can someone help me?
You could try,

search [\w--[\d]]+\s[\w--[\d]]+\W+([\w--[\d]]+\s[\w--[\d]]+)
replace \1
maxthegold is offline   Reply With Quote