Used to use hairspray...alcohol works too...isopropyl.
What is the fibre content of the fabric? Where is the fabric? Is it an item of clothing, or furniture?
Here is one brand of the washing soda that Gva is referring to. It is used as a laundry stain pre-treat and detergent booster.