View Single Post
Old 05-28-2018, 07:56 AM   #1
waalw
Junior Member
waalw began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2018
Device: kobo aura
what ia I doing wrong?

I am trying to make an regexp to get the following items from a filename

series seriesindex - title - author. I made this regexp, but the seriesname and index do not apear. What is missing?

(?P<series>[^_0-9-]*)(?P<series_index>[^_0-9-]*)\s* - (?P<title>[^_]*)\s* - \s*(?P<author>[^_].+) ?

Sample filename = De Donkere Tijd 1 - Schaduwen boven Ullart - Markus Heitz.epub
waalw is offline   Reply With Quote