11-10-2011, 06:59 AM | #1 |
Kindle user
Posts: 22
Karma: 10
Join Date: Mar 2011
Location: Falls Church, VA
Device: Kindle
|
Metadata/regex help
Trying to get part of the title into the series_index field. Can someone tell what I'm doing wrong from the attached screenshot?
Thanks! |
11-10-2011, 08:34 AM | #2 |
Groupie
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
|
You're only replacing what you grab, so you need to grab the whole string.
(\d+).* or (\d+)-.* |
Advert | |
|
11-10-2011, 08:41 AM | #3 | |
Well trained by Cats
Posts: 30,407
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Step 1 (you are mostly there) grab the numeric before the dash and shove it into the Series_index (this assumes the CORRECT Series Name is present) Step 2 (after verifying step 1 succeeded) Remove the numeric and Dash, (Same find, no replace value) in the title. |
|
11-10-2011, 01:52 PM | #4 |
Kindle user
Posts: 22
Karma: 10
Join Date: Mar 2011
Location: Falls Church, VA
Device: Kindle
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regex and Metadata from filename. | asrrin29 | Calibre | 5 | 12-03-2023 04:51 AM |
Help me with regex please. | eVrajka | Library Management | 5 | 08-15-2011 12:17 PM |
[Metadata Download Plugin] Goodreads Metadata **Deprecated** | kiwidude | Plugins | 30 | 04-23-2011 02:10 PM |
What is the difference between the main metadata.db and sub-directory metadata.db? | iridius | Library Management | 5 | 02-23-2011 11:44 AM |
RegEx - filename metadata help | ejjenkins | Calibre | 4 | 12-28-2010 05:47 PM |