![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2021
Device: Kindle 4
|
Search and Replace Regex Query
This is what I'm trying to do without success:
Prepend Series_index values to Title with a similar format to this: [n] <title> so that "Sample Book" becomes "[1.0] Sample Book" in a series. Although it seems straight-forward I'm having trouble with regex on this. Anyone familiar with this can kindly help? Thanks, |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Where are you trying to do this?
IMHO you should NOT be modifying any standard field as it will render 'get metadata' and other tools useless since your value is not what their database has. Saving to external fils (using Send to Device,folder....), use the builtin template language (that only affects the copy) [{series_index}] {title} of series The [] , of series : are literals in this usage |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 07:10 PM |
Regex: Search and Replace | Thomas_AR | Calibre | 2 | 03-31-2016 06:23 PM |
regex search/replace - how to? | Alt68er | Sigil | 1 | 03-11-2014 08:53 PM |
regex search/replace | Sharlene | Sigil | 10 | 01-28-2012 04:14 AM |
need regex help search and replace | schuster | Calibre | 4 | 01-10-2011 09:00 AM |