You say your friends detest him. That can work in your favour. Are there any of them you can confide in and ask for their help in keeping you strong? Tell them you realize that he is horrible and abusive and that you want out, but you just keep allowing him to drag you back in. In their situation, if a friend asked for my support I'd have no problem in supporting them any way I could. Keeping them busy, being a 'sounding board', reminding them how worthwhile they are and that they deserve respect. I've been on 'your side' of that fence and my friends were invaluable in giving me the support and courage to end an abusive marriage.
As for what you can do, you really need to get him 'out' of your head and life. Men like him thrive on humiliating and torturing women. They MUST have a victim at all times and don't let go easily because they know that victims aren't always easy to find, so expect to have to work to get him out of your life. Start by blocking him, just for an hour. At the end of the hour, if you can't stand it, unblock. Repeat the next day. Then a couple of days later, block him for 2 hours, then 3 hours.. You see where I'm heading. Write down the horrible way he makes you feel and some of the things he's done and said to hurt you. Keep it with you at all times. When you're tempted to call him or answer his calls, touch that piece of paper or read some of the things out.
Above all, seek counseling. It can be an invaluable help. It took me 18 months worth to finally get my head on straight and begin to trust and, more importantly, to be able to see a good man from a rat bastard.
You are worthy. You deserve respect. You deserve happiness. You deserve love. And you will have these things, it will just take time, effort, determination, and support.