How to eliminate the offset of a signal

To eliminate the DC component of an AC signal, run it through a capacitor.