View Single Post
Old 10-14-2010, 05: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: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
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