Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-09-2014, 01:17 PM   #1
LadyKate
Groupie
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 175
Karma: 673232
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
Is there a way to remove text from Title with regex

I'm looking at around 2300 titles with the series in brackets (series info).

I would like to know if there is a way to remove text from the title using regex
something like
([A-Za-z0-9]+)

It would be faster lol.
LadyKate is offline   Reply With Quote
Old 02-09-2014, 01:26 PM   #2
unboggling
by the bootstraps
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,053
Karma: 858115
Join Date: Jan 2011
Location: Southeast US
Device: PRS-T2, Nexus 7, KindleT, iPad1, Kindle3KB
What does it look like? A sample would help.
unboggling is offline   Reply With Quote
Old 02-09-2014, 01:48 PM   #3
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,104
Karma: 5168844
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano Premium
Yes, it is possible to remove brackets from titles, using regexp.

I would suggest that you remove all series information from the titles, and store it in the fields intended for that purpose. That can be done using bulk metadata search and replace with regexp as well.

It is bad to store series information in the title, you will most likely change your mind about formatting and want to change it in the future. Metadata lookup may fail, because the title has extra information. Also it becomes difficult to update if you have the series information stored both in the intended fields and the title, and plug-ins that are used to manipulate series information most likely don't handle the title.

If you want the series information in the title or the filename on the device, then you can use a plugboard and/or a save template to add that "on the fly".
Adoby is offline   Reply With Quote
Old 02-09-2014, 09:34 PM   #4
LadyKate
Groupie
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 175
Karma: 673232
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
Lol the title and tag fields are horrid in these books. The title including thing like
title text of actual title (series info):A Novel (language info)
The tags are even worse lol. Why put the series info in the tag argh not to mention how many ways do they need to string together tags. I try to cleanup tags but every time I add books I get a ton of horrid tags... really bad. How many ways can you tag a novel that is Mystery, Thriller, Suspense, Fiction, Detective etc.
LadyKate is offline   Reply With Quote
Old 02-09-2014, 11:36 PM   #5
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
Posts: 6,456
Karma: 10683802
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch (Wifi only)
Quote:
Originally Posted by LadyKate View Post
Lol the title and tag fields are horrid in these books. The title including thing like
title text of actual title (series info):A Novel (language info)
The tags are even worse lol. Why put the series info in the tag argh not to mention how many ways do they need to string together tags. I try to cleanup tags but every time I add books I get a ton of horrid tags... really bad. How many ways can you tag a novel that is Mystery, Thriller, Suspense, Fiction, Detective etc.
Hah, I just ignore tags altogether. And I fix up the series + title as I import books; it's much more manageable that way.
eschwartz is offline   Reply With Quote
Old 02-14-2014, 03:29 AM   #6
LadyKate
Groupie
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 175
Karma: 673232
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
Quote:
Originally Posted by eschwartz View Post
Hah, I just ignore tags altogether. And I fix up the series + title as I import books; it's much more manageable that way.
I use tags to find a book in the same "genre" or with the same "feel" to read. It helps when finding a book for someone else in the household to read.
LadyKate is offline   Reply With Quote
Old 02-14-2014, 01:43 PM   #7
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
Posts: 6,456
Karma: 10683802
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch (Wifi only)
Quote:
Originally Posted by LadyKate View Post
I use tags to find a book in the same "genre" or with the same "feel" to read. It helps when finding a book for someone else in the household to read.
I do use tags, some of them, but only ones I specifically add. And I add them as I get them, so it remains manageable -- possibly because I started this way from the beginning.

I don't like conforming to someone else's fool idea of what kind of ridiculous tags to put on most books.
eschwartz is offline   Reply With Quote
Old 02-14-2014, 04:08 PM   #8
theducks
Grand Sorcerer
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: 14,839
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by eschwartz View Post
I do use tags, some of them, but only ones I specifically add. And I add them as I get them, so it remains manageable -- possibly because I started this way from the beginning.

I don't like conforming to someone else's fool idea of what kind of ridiculous tags to put on most books.
(Lately) The publishers seem to be the worst. Every possible keyword that can be applied to the book, however thin the relevance
theducks is offline   Reply With Quote
Old 02-14-2014, 04:12 PM   #9
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
Posts: 6,456
Karma: 10683802
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch (Wifi only)
Quote:
Originally Posted by theducks View Post
(Lately) The publishers seem to be the worst. Every possible keyword that can be applied to the book, however thin the relevance
keywords I have recently deleted include "book" "ebook" and what seems to be their all-time favorite: "FIC0000".
eschwartz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Title bulk edit match - to remove series info from title Rob557 Library Management 25 09-22-2014 10:11 PM
RegEx for title - author - series? mattam Library Management 10 08-29-2012 11:11 PM
Help with regex to remove specific strings of numbers adrian1944 Conversion 9 02-14-2011 01:11 PM
Regex help to remove HTML footer neonbible Calibre 4 09-09-2010 09:42 AM
Regex to remove header from PDF neonbible Calibre 4 09-07-2010 10:08 AM


All times are GMT -4. The time now is 11:40 AM.


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