When I was going through this with my ex, I would picture a box in my mind. And I would take his crap, his anger and negativity, and mentally put it in that box. Then I would mentally write "Return to Sender" on the box and let it go. Sounds simplistic, but this visualization really helped me -- it became second nature.