View Single Post
Old 05-24-2012, 06:14 PM   #1
santiagodraco
Member
santiagodraco began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2010
Device: iPad
Help creating a simple expression

Hell all,

I'm trying to simplify my ebook import, short term, so I can get my library loaded for a trip. Here's what I'm trying to do:

Pretty much all of my files start with the Author name followed by the Series and/or title. What I want to do is simply import ALL files using the first words before the first - as the author. All the rest as the title.

When I run these expressions:

(?P<author>.+) - (?P<series>[^_]+) - (?P<title>[^_]+)
(?P<author>.+) - (?P<title>[^_]+)
(?P<author>[^_]+) - (?P<title>,+)

Or variations I keep getting a ton of authors even though all the files are correctly formatted.

Any help would be appreciated!
santiagodraco is offline   Reply With Quote