What catalogue are you blathering about? If you are going on about the one that is generated from the Convert Books menu item in calibre, for XML and CSV you can choose what items to include in the file. For EPub, Mobi and AZW3, the published date will be added as ' (1234)'. If you choose EPub or AZW3, open the catalog in calibre's editor and use a regex search for ' \([0-9][0-9][0-9][0-9]\)' with a replace of nothing and search in all files. There are simpler ways to write this regex but this is about as basic as it gets.
\( is an escaped (
[0-9] match any digit from 0 to 9 (repeated 4 times)
\) is an escaped )
Leave out the two ' when entering the regex, they are just there to make the space in front of the \( easier to notice.
To open the calibre editor either highlight the catalog and hit T on your keyboard or use the right click menu and select Edit book. Yes, calibre includes a editor which, gee, gosh, golly, will edit xhtml files.
Last edited by DNSB; 07-21-2020 at 10:13 PM.
|