Power from 24VAC

I just looked and both the 7805 and 7812 say 35v max, and when I hooked up the caps and bridge I got over 40v with no load. Is there an easy way to knock this down?