regular expresion (clean the spaces)
sorry , it is my first regular espresion
the type of files are :
series numberofserie - title - author.epub
title - autor.epub
i have made this
^((?P<series>[^0-9-]*)(?P<series_index>[0-9]*)(\s-\s?)|)?( ??(\s*)(?P<title>[^_].*))(\s-\s)(\s?)(?P<author>[^_].*)
i want clean the left spaces of title , author and series.
i think i have made it for title and author , but i cant do it in the series , can you help me?
thank you a lot
|