Blot up the excess raspberry, using white paper towels. Avoid rubbing the carpet, as the raspberry stain may spread.
Pour 1/4 tsp. of clear, bleach- and lanolin-free liquid dish soap into a mixing bowl. Fill the mixing bowl with 1 qt. of fresh, cold water. Mix the water with the dish soap.
Dampen a white rag in the dish soap solution. Blot the raspberry with the rag, lifting as much red stain as possible. Frequently rinse accumulated raspberry residue from the rag, using fresh water.
Mist cool water onto the carpet to rinse out the dish soap residue. Blot the carpet with a white dishtowel to absorb any moisture.
Inspect the carpet for raspberry stains. If the red fruit stain persists, dampen a fresh rag with 3-percent hydrogen peroxide.
Blot the remaining raspberry stain with the hydrogen peroxide, dissolving the red stain completely. Let the carpet absorb the peroxide for one hour.
Cover the damp carpet with another dishtowel. Leave the dishtowel in place until the carpet dries. No rinsing is necessary.