What a day! That's really hard. But focus on the positives... he's ended it with her. It's natural (even if it is hurtful) that he's going to have residual feelings for her. It's the ending it that's important. He has to mourn it, then be motivated to reconcile with you. It's all a process but even though he SAID hurtful things, his actions are all beneficial to your marriage. Just trust it and allow him a chance to get past it. Nope, he doesn't 'deserve' it, but I've found that if you throw 'deserve' out the window, it helps you detach.
Hang in there! What's the most fun thing you can do today?