View Single Post
Old 08-06-2020, 11:09 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,213
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by dunhill View Post
I usually edit all the metadata so I can complete my custom columns.

But I have come across some books that have braces or parentheses in the title.
Thanks for answering theducks !!!
(.+) \[trans\.\s (.+?)\]
\1 is the title
\2 is the name (without trans. )
so you could APPEND to {authors}: \2 (trans)
As you can see, this is fragile: in that it expects trans.(space)
theducks is offline   Reply With Quote