View Single Post
Old 01-10-2010, 10:04 PM   #26
Tom2112
Tablet eReader
Tom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterTom2112 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 45
Karma: 12620
Join Date: Dec 2009
Location: Western PA
Device: Samsung Galaxy Tab 7, iPad, Dell Streak 7, Moto RAZR MAXX
Does anyone have a reg ex similar to this one:

^((?P<author>([^\-_0-9]+)(?=\s*-\s*)(?!\s*-\s*[0-9.]+)|\b))(\s*-\s*)?((?P<series>[^0-9\-]+)(\s*-\s*)?(?P<series_index>[0-9.]+)\s*-\s*)?(?P<title>[^\-_0-9]+)


But... (there's always a but) I need it to remove the comma between the author's first and last names.

Such as in this filename:

Last, First - Series 01 - Title.lit

Which gets imported like this:
Author: First Last,

THANKS in advance,
Tom
Tom2112 is offline