This may sound a bit nuts but...

I use the same product for getting kitty vomit stains out as I do for my regular carpet stains. I use Vet Solutions Carpet Stain and Odor Eliminator. I've taken ketchup and mustards stains out of a light colored berber carpet with it before.