Can you eat expired pepperoni that has not been opened?

As long as it's been refrigerated and isn't more than a week past the expiration date, it should be fine. Make sure it's the expiration date and not the "sell by" date. Those are two different things.