That is hard to do. You do not state your power source or the required output current. If it's low current, the data sheet for a 7812 (use LM7812 as a search term) will bring up what you need. The overcurrent is a bit crude, though - if it gets too hot, the pass element shuts down.
Overvoltage protection is typically accomplished by using an SCR crowbar circuit. I could describe the technique here, but there are numerous articles describing them available on the Internet. Google is your friend.