![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2021
Device: Kindle
|
![]()
I imported a collection of books but Author/Title wasn't successfully extracted on many of the books.
Some books have BookAuthor~BookTitle.pdf format and those ended up as Title: BookAuthor~BookTitle Author: "Untitled" or some random name I can use Regex (?P<author>[^_]+)\~(?P<title>.+) for Adding new books that would split it properly, but is there a way to apply the regex to all existing books in bulk, either manually selecting all that are wrong, or even better, to apply that if there is ~ in author's name |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
I'm mostly clueless about regex, but as a suggestion, try typing something like
author:"~" in the library search bar to filter your collection to the subset you want, CTRL-A to select all of them, then go to Edit Metadata > Edit Metadata in Bulk > Search and Replace select "Regular Expression" as the Search Mode at the right and try your regex there. Make some kind of backup before you try anything. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to regex bulk update the Title column from another column? | halloleo | Library Management | 10 | 04-16-2021 02:27 AM |
cannot figure out, please help: bulk metadata swap numeric mo/yr in title w/ regex | anoukaimee | Library Management | 5 | 11-07-2019 02:36 AM |
Bulk fill title with same value (like bulk rename author)? | rebl | Library Management | 1 | 08-22-2014 12:05 PM |
RegEx for title - author - series? | mattam | Library Management | 10 | 08-29-2012 11:11 PM |
libprs500 - title/author matching regex | Megatron-UK | Calibre | 15 | 04-01-2008 04:39 PM |