High Pass Filter configuration with diodes and electrolytic caps?
A couple notes:


A high-pass filter removes or changes the DC level of a signal.
The polarity of the DC-blocking capacitor cares only about the DC level of both sides, not the alternating high-frequency signal.


So if you know whether the offset voltage will be positive or negative, you can use the simple circuit.

If the offset can vary higher or lower than the desired output offset, you can arrange two high-pass filter stages where you know the direction of each.  For example, if the input offset can vary around 0V but never be more than +5V:







simulate this circuit &ndash; Schematic created using CircuitLab