Pressure, temperature, other components, CO2 concentration? What do you mean by completely, 1 ppm, 1 ppb?
Pretty hard to answer without some details.
We used a caustic wash to remove the CO2 out of our cracked gas before the chilling train but if you have substantial amounts of CO2, that can get expensive in terms of caustic consumption.