adding book : series is part of the whole title
Hi,
I tried to import books and extract details from filename.
The problem is that I want to extract part of the title as serie and index but without to delete this part from title.
Anyone know how to do this and if it's possible ?
So to better explain here is the example of what I want :
filename : Soda - 12 - Code apocalypse
title : Soda - 12 - Code apocalypse
serie : Soda
index : 12
My curret regex is : (?P<series>.*) - [A-Z]?(?P<series_index>[^_]+) - (?P<title>[^_]+)
But the problem with that is that my title is : Code apocalypse.
|