I don't even use hairspray anymore for my hair, but I always have a bottle down in my laundry room. I haven't had a full laundry load to deal with, but it usually works great in my experience.
Soak the spots with hairspray. Really soak them. Let them sit a few minutes. Then rub the material to loosen the spots. I usually just throw them right into the washer after that. If they're all really bad, you might need to soak them, let them sit a lot longer, then soak and scrub them again.
The hairspray has a solvent that breaks up the ink. It may look like it is spreading and scare you, but I've found that it works amazingly well. Any hairspray will do. I usually just cheap out with Suave or something like that.