Jennifer Lopez reportedly sought advice from ex-husband Marc Anthony before splitting with Casper Smart.

The 44-year-old singer allegedly turned to the actor, 45, with whom she has six-year-old twins Max and Emme, before she decided to call time on her two-and-a-half-year relationship with the 27-year-old dancer earlier this month.

A source told E! News: ''One person she got advice from is her ex Marc ... He's been supportive and great through this all.''

However, despite their split, the 'On The Floor' hitmaker is determined to stay friends with the choreographer as her kids have developed a bond with him.

The source explained: ''She will definitely still keep things civil and actually still loves him. The hard part is the kids love him too. He has become a part of her family.

''It's not going to be one of those breakups where you never see them together again.''

Meanwhile, in recent weeks, Casper has been accused of cheating on the star with transsexual bikini model Sofie Vissa, whom he met and exchanged sexual messages with online first.

However, Casper has denied the allegations and subsequent claims involving a second transgender model.

The former couple were first linked together in November 2011, just a few months after the singer split from Marc.