in reply to how to fetch 1,2,3, from chapter
How about the fun way :)
> perl -e\ "print join', ',map {\"Chapter $_\"} splice@{[split/\D+/,'Chap 1,2,3'] +},1" Chapter 1, Chapter 2, Chapter 3 [download]
Cheers,R.