![]() |
#1 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Quick Regular Expression Help
I accidentally deleted spaces between tags and now am stuck with
DarkFantasy instead of Dark Fantasy is there a regular expression or something that I can do that will fix this in search replace? Am not about to go through my entire library and fix individually if I can avoid it. Every tag was title cased so the spaces would be between [a-z][A-Z] Some tags are more than two words long. |
![]() |
![]() |
![]() |
#2 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,981
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Try this:
https://regex101.com/r/J3697t/1 Regex search & replace. Search for: (?<=[a-z])(?=[A-Z0-9]) Replace with: " " (a single space) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,981
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
You can also right-click the category in the Tag Browser to "Manage [Whatever]." Ediitng the entry in there will change it on every book.
|
![]() |
![]() |
![]() |
#4 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Thanks! I was not about to go through all 3,000 tags in the manage field. It's hard enough to scan through to find the onese that were all bunched up.
THat regex worked! Will save it! |
![]() |
![]() |
![]() |
#5 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,981
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is this possible using a regular expression? | unabatedshagie | Library Management | 2 | 03-17-2016 09:47 AM |
Please help me with regular expression :help: | Tatjana | Library Management | 2 | 05-30-2014 05:41 PM |
More than 3 regular expression? | james968 | Conversion | 1 | 04-04-2012 05:39 AM |
Regular Expression Help | Azhad | Calibre | 86 | 09-27-2011 02:37 PM |
Regular Expression Help | iKarampa | Calibre | 13 | 12-15-2010 07:17 AM |