Precede the regulator with a 0.1µF capacitor and you should be good. If you want to be really conservative:
Precede the capacitor with a 100 ohm resistor, In parallel with the capacitor place a 18V zener diode.