Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-08-2011, 11:33 AM   #1
oldbwl
Zealot
oldbwl doesn't litteroldbwl doesn't litter
 
oldbwl's Avatar
 
Posts: 122
Karma: 164
Join Date: Aug 2010
Location: Old Ynysybwl
Device: Sony PRS-300
Search & Replace - Regular expression

Hi Folks,
I have 181 books I want to change the title of each book by Prepending the tag {Series} to {title}

e.g. I start with

Original Title: This is the first book
which is book 1 of series 'Test' and end up with

New Title: Test [1] This is the first book

I have searched the forum and the Manual (for 'sub' and Prepend etc) but can't work out what I need.

Any suggestions - I started to do the changes by hand, but there is so many, and this is just the 1st set of many too.
oldbwl is offline   Reply With Quote
Old 01-09-2011, 05:48 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
You use search & replace, found in bulk metadata edit.

It can be done in one step by using S/R in regular expression mode. The trick is to use a template as the source field and prepend that to the title. See the attached screenshot for what to put, where.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	961
Size:	123.7 KB
ID:	64411  
chaley is offline   Reply With Quote
Advert
Old 01-09-2011, 09:33 AM   #3
oldbwl
Zealot
oldbwl doesn't litteroldbwl doesn't litter
 
oldbwl's Avatar
 
Posts: 122
Karma: 164
Join Date: Aug 2010
Location: Old Ynysybwl
Device: Sony PRS-300
That did the trick. Thanks.

I can't beleive how powerful this program is, and how little I know...........
oldbwl is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search & Replace Suggestion Philosopher Calibre 6 12-31-2010 11:55 AM
Search & Replace: Destination series_index? Starson17 Calibre 0 12-09-2010 01:12 PM
Search & Replace Pat Nickholds Sigil 2 10-21-2010 11:18 PM
Search & replace TEXT ToeRag Calibre 3 04-10-2010 01:44 PM
Find/Replace with regular expression hydrolith Sigil 6 03-01-2010 08:42 PM


All times are GMT -4. The time now is 09:00 AM.


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