I hate the things I've done and I wish I could just rewrite my history
Sounds intriguing. How would you rewrite your history?
I wish I could forget what happened, I was a complete idiot back there
It is completely normal to regret some parts of your past. The important thing is you learn and grow from your past mistakes.
OMG I wish I could just erase what happened in my past! It's better that way. I wish I could give my past to someone else.
That's all part of the regret, but you should really take ownership of who you used to be. Then you can feel proud of how far you've come in learning how to do things better.