You can remove Play-Doh off upholstery or carpet by following the below-mentioned steps:
Use a vacuum cleaner on the spot as far as possible
Cover the site for an hour with a cloth dampened with hot water
Remove the cloth and the loosened dough
If tiny bits of dough persist, let the patch dry and scrub them off with a stiff brush