|
|
#1 |
|
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,301
Karma: 1937893
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Need help with a search and replace
I have a bunch of tags that are in heriarchal form
genre.romance I want to turn them into title cased Genre.Romance I have tried to search the "." and replace with a space, then capitalize the results, but when I try to replace the spaces with periods, I end up with a bunch of tags with periods in spaces that should just be spaces. Is there a kind of regular expression that can just capitalize the first letter following a period? I can title case the rest. |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,270
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I title case all my tags, so I just right click in the Tags area of the MDE when I find a book with case issues and Title case. and select the case I wish
AFAIK that works on HIERARCHICAL tags |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
This works for me. It uppercases the first letter and any letter after a period.
|
|
|
|
|
|
#4 |
|
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,301
Karma: 1937893
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Thanks! I was able to copy the code and it worked fine! I was looking for that specific code
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search and Replace not being done | PandaPuddle | Conversion | 7 | 01-29-2019 01:34 AM |
| Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 08:10 PM |
| Search and replace wish | LadyKate | Editor | 5 | 05-17-2015 10:53 AM |
| save multiple search/replace, or search/replace multiple ebooks | user743 | Editor | 12 | 04-12-2014 03:38 AM |
| search and replace - drops blanks in replace ? | cybmole | Conversion | 10 | 03-13-2011 04:07 AM |