I have wound up with a ludicrously large number of auto-generated aliases (30,000+) which I'd like to get rid of. There's no problem in mass-deleting them - but there are also a fair number of manually created aliases which I don't want to lose.

Is there any way to filter the mass-delete function? eg so I can delete all /book/[term-raw]/[nid] aliases?