Well it's going to hard to get it out but try this and see if it works for you. Make a solution of one part of white vinegar with one part of water
Apply to the stain using a spray bottle to saturate
Allow the stain to sit about 10-20 minutesUse a sponge to clean in a rubbing motion Rinse with warm water Brush the pile back into the natural direction is has,
Using lots of layers fo papetowels, place paper towel on top of area, place a book on top of that. Allow to sit like this until it has dried.
or maybe this one might work for you, A ammonia solution: 1 teaspoon of clear, household type ammonia to a half of a cup of water. This solution can be used in a spray bottle or be applied to the carpet directly. It is important not to wet the carpets backing when apply. After applying solution, use white paper towels to blot. Allow to dry completely. or try this one, Detergent solution: A detergent solution can be made of hand soap or dish soap. The combination is one quarter of a teaspoon of detergent to one quart of water. Make sure the soap does not contain bleach or lanolin.
Blot the stain with white paper towels to remove as much of the solution as possible. Apply detergent solution with a spray bottle, rub the area, and then bolt out the stain and the rest of the detergent and the last one is, Isopropyl rubbing alcohol can be apply it by pouring some onto a clean, white towel. Paper towels can be used as long as they are white.Blot until as much as possible until stain is removed. But be very careful! If the stain is small, blot in one direction only so that you do not spread the stain. One more thing not all stains can be removed.