The spectral method for symmetric regularized wave equations