Part of the magic of friendship is being able to share everything with someone… but most people definitely want to draw the line at exes. But in the immortal words of Selena Gomez, the heart wants what it wants, and sometimes stars forgo girl (or guy) code to hook up with their bud's former love!

MUST SEE: The Most Followed Celebrities on Instagram: Best Friend Edition

In fact, look no further than the (admittedly so adorable) relationship between Selena and The Weeknd. We still can't forget that the rapper used to be very much a Thing with Selena's friend Bella Hadid (that staredown at the last Victoria's Secret Fashion Show is burned into our brain) and it definitely led to some hard social media drama. But hey, not every ex-sharing incident has to end like that: Selena and Taylor Swift still managed to stay tight after both dating Taylor Lautner. Hey, Hollywood is a small town, you guys, you can only follow the code so much!

Click through the gallery to see celebrity friends who have dated the same people.

Love J-14? Be sure to subscribe to our YouTube channel for fun, exclusive videos with your favorite stars.