02-09-2014, 01:17 PM | #1 |
Fanatic
Posts: 515
Karma: 1470724
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. |
02-09-2014, 01:26 PM | #2 |
Wizard
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
|
What does it look like? A sample would help.
|
02-09-2014, 01:48 PM | #3 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
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". |
02-09-2014, 09:34 PM | #4 |
Fanatic
Posts: 515
Karma: 1470724
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. |
02-09-2014, 11:36 PM | #5 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
|
|
02-14-2014, 03:29 AM | #6 |
Fanatic
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
|
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.
|
02-14-2014, 01:43 PM | #7 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
I don't like conforming to someone else's fool idea of what kind of ridiculous tags to put on most books. |
|
02-14-2014, 04:08 PM | #8 | |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
02-14-2014, 04:12 PM | #9 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Title bulk edit match - to remove series info from title | Rob557 | Library Management | 30 | 12-09-2014 06:06 AM |
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 |