well if it is going to but out 5v as a output to yor diode then your laser could blow out i may be rong becouse i only used that 7805ct ones.
i would just use the lm317t and use a 10ohm resistor,capaciter 35v 47uf, and a diode for reverse plioredy (may be spelt rong) and that should give you...