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

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


Thread Tools Search this Thread
Old 05-08-2013, 04:33 PM   #1
Calibre fan
Riva3000 began at the beginning.
Riva3000's Avatar
Posts: 28
Karma: 10
Join Date: Jul 2011
Location: Europe
Device: iRex 800SG, iPhone 3GS (shelved: iRex iLiad, KindleDX, Adam tablet)
Question Modification of Metadata recipe "Put series into the title, using either initials .."

I am trying to modify this Metadata 'recipe':
"Metadata: Put series into the title, using either initials or a shortened form. Strip leading articles from the series name" ..

I wanted to modify the RegExp in Template that generates 'initials' form of Series field, so it also adds any uppercase letters into initials.

That would correctly solve series names like "MechWarrior".

I tried (also as my exercise in RegEx) but I'm not good enough to solve it, so I'll be glad if anybody can help.

Additionaly: To make it more complicated, I have books and series that contain national characters (aka non-Ascii chars aka diacritis) so it would be great if the regex would take all uppercase Unicode characters, not just [A-Z].
I understand that it might not even be possible under Python flavor of RegEx. (Just thinking complexly )

Last edited by Riva3000; 05-08-2013 at 04:35 PM. Reason: typos
Riva3000 is offline   Reply With Quote

regexp, regular expression, template, unicode

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue Editing MetaData in "Series" Field slammerkin Library Management 4 12-09-2012 01:33 AM
Plugboard "Metadata: Show series [series index] - title as title (Kindle)" Deep Cover Library Management 6 11-30-2012 05:17 PM
Changing internal ePub title with "Edit metadata" therealjoeblow Conversion 3 11-03-2011 12:01 AM
Kindle Annotations vs Plugboard rename Title with series initials/numbering Gwen Morse Devices 2 09-05-2011 12:58 PM
Crash on nonexistent "title" metadata element Valloric EPUBReader 3 12-10-2009 01:46 PM

All times are GMT -4. The time now is 10:52 AM. is a privately owned, operated and funded community.