Pasta won’t spoil easily because it’s a dry product.  You can use it well past the expiration date, so long as it doesn’t smell funny (egg pasta can produce a rancid odor).  Generally, dry pasta has a shelf life of two years, but you can typically push it to three.