Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2025, 06:13 PM   #1
jvik
Member
jvik began at the beginning.
 
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
jvik is offline   Reply With Quote
Old 05-25-2025, 07:22 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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)
theducks is offline   Reply With Quote
Advert
Old 05-25-2025, 08:25 PM   #3
jvik
Member
jvik began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jan 2011
Location: Phoenix, AZ
Device: Nook
Thanks!!!

Worked perfectly:-)
jvik is offline   Reply With Quote
Reply

Tags
calibre, regex, replace, search


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:08 AM.


MobileRead.com is a privately owned, operated and funded community.