Why did starting a motor burn out my power regulator?
If you reverse the motor before it stops spinning, you may be placing more than 12 volts at the input of the power regulator. Try adding diodes from the battery toward the motor (before the polarity switching relays). You want to stop any voltage larger than you are expecting from reaching your regulator and especially your processor.