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 12-15-2019, 02:17 PM   #1
activedirectory
Member
activedirectory began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Dec 2019
Device: none
Using RE to extract pattern from custom column into another custom column

This is a really basic question so thanks for being patient.

I have a custom column from the Overdrive plugin (thanks jhowell!) that shows the waiting time for my holds: for example a row would look like:

05H@library1, 08@library2, 09@library3

I am trying to create another custom that just shows that I have a hold on this book e.g. H@library1 (the re pattern would be like like H@[a-z1-9]+)

I've used regular expression but I don't know how to reference the custom columns... and I was a bit confused by the help files.
activedirectory is offline   Reply With Quote
Old 12-15-2019, 08:07 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Each column has a lookup name. For a custom column, it will start with a "#". You don't enter this when creating a custom column, but, all references to it need it. Once you have the lookup name correct, it is used in the same way as an inbuilt column.

For example, if you created the column as "od_holds", then simplest template with it would be:
Code:
{#od_holds}
davidfor is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding custom column with any lookup-name gives me empty column as a result? Ahu Lee Library Management 16 06-09-2019 12:14 PM
Move selected data from series column to a new custom column fvdham Library Management 3 06-02-2017 03:49 PM
Extract PDF text and store in custom column diazlaz Development 2 12-30-2013 10:00 PM
Custom column returns value based on value of another custom column? calvin-c Calibre 3 09-14-2013 02:24 PM
how to move value(s) of tag column to a custom made column zoorakhan Library Management 0 12-08-2012 03:53 AM


All times are GMT -4. The time now is 10:34 PM.


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