View Single Post
Old 09-29-2011, 02:19 PM   #7
unboggling
Wizard
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
How would I change my Add Books regex to strip off the id in the title? Sorry, I don't understand regex well enough to figure it out by myself yet… Here's the new save template:
Code:
{author_sort}/{title}/{title} - {authors} - (({id}))
And this is the Add by filename regex I've been using:
Code:
(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?
Edit: Never mind, I just tested and that Add by filename regex handles it automatically as is. Also, normally I Add (checkbox Checked) using Read metadata from file contents — where it doesn't matter anyway.

Last edited by unboggling; 09-29-2011 at 02:31 PM.
unboggling is offline   Reply With Quote