Quote:
Originally Posted by Katja_hbg
All my books downloaded from Amazon get the addition "(German Edition)" in the title. Currently I remove that by a search/replace.
But I would prefer to add such a rule in the Book-add function and in Metadata-download function like tags, author and publisher.
|
Hi, I just leave this option in screenshot below checked: "Read Metadata from file contents".
Otherwise I *think* you'll need to use a Regular Expression, such as the one I found in this post:
https://www.mobileread.com/forums/sh...6&postcount=14
Code:
^((?P<author>([^\-_0-9]+)(?=\s*-\s*)(?!\s*-\s*[0-9.]+)|\b))(\s*-\s*)?(\[?(?P<series>[^0-9\-]+) (- )?(?P<series_index>[0-9.]+)\]?\s*-\s*)?(?P<title>[a-zA-Z1-9 ]+).+
Look forward to see other members input, as I find regex so intriguing
edit: I think I wrongly presumed that the (German Edition) bit was originating from the filename...