Wet a clean sponge and squeeze out the excess water.
Apply a tiny drop of liquid laundry soap formulated for hand washing and delicate items to the sponge.
Dab the moistened soapy part of the sponge on the dirt stain on your pants. Avoid excessive or hard rubbing, as this can make the stain worse.
Continue this method of re-moistening the sponge and adding more soap in small amounts until the dirt has been loosened and removed.
Machine-wash the pants in warm water with a liquid detergent. Tumble-dry your pants on low heat in the dryer or allow them to line-dry.