View Single Post
Old 10-14-2010, 06:59 AM   #42
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
Posts: 8,069
Karma: 22730000
Join Date: Dec 2008
Location: Krewerd
Device: AVTN8; BBMini; Onyx Boox T68; SGN8
Quote:
Originally Posted by chaley View Post
Try
Code:
{series:re(([^\s])[^\s]+(\s|$),\1)}{series_index:0>3s| - | - }{title}
Personally, I would prefer
Code:
{series:shorten(4,-,4)}{series_index:0>3s| [|] }{title}
(for some values in the shorten) because the first letter of a single-word series name doesn't tell me enough, and it gets rid of 2 extra spaces.
I tried your second one, but that one isn't foolproof either:


"The -dren [00] - The Clan of the Cavebear"

The "The" (and "A", etc) should be removed first...
Sweetpea is offline   Reply With Quote