Okay, thanks for the advice given
I have read ALL I can about Regular Expressions both from the tutorial AND the section in the Python manual. I have concluded that, even with my experience in programming, to acheive what I want with regex is beyond my capabilities.
So I have decided to play with the filenames of the eBooks I wish to add as I can't edit the "pdf" files themselves.
Could someone please point me to where in the manual I can find the full formatting of the file name?
I have done searches in both the Quick Start and the full Calibre user manuals but couldn't find the required info about "file name format".
I have worked out, by playing with a test library, many "Adds" and looking at the Calibre files in the Library, that to get Title and Author the filename has to be, for example, "A Book Title - A N Author.pdf"
I have started editing the filenames of the books I want to add to this format but it will be/is a HUGE task (over 2000 books).
Can I add "Series" information to this format of filename? And have it automatically extracted and stored?
Can I acheive this by formating/structuring the folders to be added? For instance:-
Author folder
-Series folder
--First Book folder
---Cover.jpg
---First Title.pdf
--Second Book folder
---Cover.jpg
---Second Title
I suspect not and that I will be back in the realms of extremely complex (impossible(?)) regexs?
A good start will be where to find the FULL filename specification