View Single Post
Old 01-08-2021, 12:51 PM   #1
vFbjgBDhV
Member
vFbjgBDhV began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Nov 2020
Device: none
Regular expressions to normalize the metadata

Many books in my library have titles composed of the actual title and other strings added by the publisher.
For example:

"A Sunday in the Countryside (Hungarian Edition)"
"The Holy Bible (Hungarian Edition)"
"Revolution and anti-capitalist subversion (Hungarian Edition)"
"Chess and Tarot (Hungarian Edition)"

I would like to clear all titles by deleting the string "(Hungarian Edition)" in a single step.
It would be very easy if you could use a regular expression, for example:
Code:
search in titles: (.*?)\s*\(Hungarian Edition\)
replace: \1
Is it possible to use regular expressions to normalize the metadata of a group of books?
vFbjgBDhV is offline   Reply With Quote