Answer
Ghosts of Girlfriends Past is a 2009 romantic comedy film directed by Mark Waters and written by Jon Lucas and Scott Moore. The film stars Matthew McConaughey, Jennifer Garner, Ben Affleck, and Ashley Tisdale. The film follows Connor Mead (McConaughey), a playboy who is visited by the ghosts of his past girlfriends. He is given the opportunity to change his ways and find true love with Jenny Perotti (Garner).