Build a bog standard constant current circuit (couple of diodes, bipolar transistor, emitter resistor, you know the drill), and wire it between the + and - terminals of a bridge rectifier, connect the AC terminals to the rest of the circuit.
Regards, Dan.