So,I decided to try this

I have to agree with 67Dart about the dangling wires. I used a small perf board and mounted the regulator, heat sink & cap to it. Then I ran 3 short wires to the appropriate places for a nice neat package. It's still working great after 5+ years. For what it's worth, you may want to add a heat sink to your design.