I second, Once Removed.
I did not heed the keeping it out of the workplace (when I was in the thick of it) and it all came back to bite me in the A _ _. Plus, if you are talking to everyone YOU start looking like a gossip, you look worse than the ex.
I know you are venting and trying to figure stuff out but know this... .no one is REALLY your friend at work. Friend is loosely used here.
I learned this the 2nd time around when my BPD ex friend and I stopped being friends last year (we work together along with my crazy ex's sister). She divulged ALL my personal---as this was one of my "closest friends" info to anyone who would listen. I seriously wanted to glue her mouth shut... .
and chuck her over a cliff.

I bit my tongue and ignored it. She amped it up for awhile and once she realized she was not getting anywhere she found a new target... .
as they always do.
Sure, there were the "busy bodies" at work who came to me to tell me what was being said, trying to fuel the fire. My only answer: "That's a real shame. I mean she's 54 and I am 40. This is childish".
By keeping my mouth shut she ended up looking like a gossipy troublemaker and is on HR's radar.
I am not.Don't worry that you have divulged things, you can't go back and change that but keep quiet at work. If anything gets back to your ex she could be un-reasonable (as they often are) and accuse you of stalking or harassing her. Then, there is this trail of all the people you divulged HER info to.
Better to be cautious, esp when it comes to your place of work and main source of income.