We all have that one pair of pants that fits perfectly, feels comfortable, and we never want to let go—often times after they've started to tear and look more like shredded cloth than a garment. Years later it can be hard to find another pair, but redditor drleephd has a solution:

Usually there is text embroidered or printed on a small tag on the inside of most mens pants. It will have either a UPC or a style number on it. Google this number and often you can find someone who is still selling your favorite pair of jeans. Stock up on them.

Drleephd only mentions this works for men's pants, so I thought I'd check a few pairs of my own and of my (female) roommate's to see if this tip worked for everyone. I was able to find numbers on several pairs of male- and female-intended pants and locate them online. In some cases the pants were on eBay because they were old, but nonetheless available and in good condition. If your favorite pants are worn out, this tip is no guarantee but certainly a way to help you locate another pair.