Use a shop vac viciously. Then hang a fanblowing directly down on the carpet to dry it. Keep fans going for a few days, using the shop vac multiple times. Even this may not work. If it was up to me, I would take an exacto knife and cut the edges of the carpet as close to the walls as I could get and yank it up. I would still put fans on it after the yanking to make sure the floor dried completely.