View Single Post
Old 06-16-2013, 06:53 AM   #4
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Ok, it's late and I'm not sure I'm exactly answering your question... but take a look at my post in the Tyrannosaurus Regex topic.

While the topic is very old, the complex regex works extremely well and should do what you want. It has the added benefit of having a cursory explanation of which clump of regex is doing what. It doesn't (unfortunately) offer a fully detailed explanation as it's the combined effort of multiple people - I was simply the person to string together the bits and pieces.

The only catch that I see immediately is that it depends on " - " (space dash space) being the delimiter between author/series info and series info/title. This is mandatory to differentiate the series info out from the rest - particularly in an "Oceans 11" type of series name situation.

I have seen simpler regex variants that can produce somewhat similar results - but not exactly similar. One difference I remember dealt with having L33t5p34k (leetspeak) within the mix. But all of this is noted in the topic.

(Just in case... You might be able to use a bulk filename utility to add " - " if needed to any existing files. Check any freeware website for viable choices. Rename-It! is my main tool on Windows XP & 7. Haven't tried it on Win8.)

Last edited by Sabardeyn; 06-16-2013 at 06:57 AM. Reason: Additional comment.
Sabardeyn is offline   Reply With Quote