![]() |
#1 |
Member
![]() Posts: 22
Karma: 10
Join Date: Jan 2011
Location: Phoenix, AZ
Device: Nook
|
Search and replace back reference
I am trying to use the search and replace tab in the Metadata editor to swap "lastname, firstname" to "firstname lastname". I've got a regex in "Search for" that correctly finds the names. I thought I could then use back reference, i.e. \2 \1, in the Replace with field. No joy.
Should this be possible? Thanks, jvik |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,946
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quality Check Plugin has predefined searches for With commas or without (FnLn)
The use the Fix item to flip the selected (is the results of a Find the <wrong> ones) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 22
Karma: 10
Join Date: Jan 2011
Location: Phoenix, AZ
Device: Nook
|
Thanks!!!
Worked perfectly:-)
|
![]() |
![]() |
![]() |
Tags |
calibre, regex, replace, search |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to replace text with Search and Replace with regex on Calibre | darrnih | ePub | 2 | 04-02-2024 02:10 AM |
Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 07:10 PM |
"invalid group reference" error on search/replace | fodiator | Calibre | 4 | 11-01-2015 12:11 PM |
save multiple search/replace, or search/replace multiple ebooks | user743 | Editor | 12 | 04-12-2014 02:38 AM |
search and replace - drops blanks in replace ? | cybmole | Conversion | 10 | 03-13-2011 03:07 AM |