|
|
#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! |
|
|
|
|
|
#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 | |
|
|
|
|
#3 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,327
Karma: 62025226
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. |
|
|
|
|
|
|
#4 |
|
Kindle user
![]() Posts: 22
Karma: 10
Join Date: Mar 2011
Location: Falls Church, VA
Device: Kindle
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regex and Metadata from filename. | asrrin29 | Calibre | 5 | 12-03-2023 05:51 AM |
| Help me with regex please. | eVrajka | Library Management | 5 | 08-15-2011 01:17 PM |
| [Metadata Download Plugin] Goodreads Metadata **Deprecated** | kiwidude | Plugins | 30 | 04-23-2011 03:10 PM |
| What is the difference between the main metadata.db and sub-directory metadata.db? | iridius | Library Management | 5 | 02-23-2011 12:44 PM |
| RegEx - filename metadata help | ejjenkins | Calibre | 4 | 12-28-2010 06:47 PM |