Expired bread is safe to eat as long as the expired bread has no mold or bacteria on the bread.
If the expired bread has just expired and it has no mold growth on the bread or has no bad smells to the expired bread then it's okay to eat.
If the bread has some mold on it then you can remove the moldy parts of the bread and eat the good parts which is what I've done before.
It's best to store bread in a cool dark place to prevent mold growth and eat the bread before expiration date because stale bread is not as good to eat.
Store bought bread usually lasts around 7 days after you buy it but some bread may last a bit longer.
But if the bread is really moldy or has a really bad smell to it or doesn't smell normal at all then throw it out.