Oscar-winner Ben Affleck has spoken about his battle with alcohol and his split from Jennifer Garner, which he described as the "biggest regret of my life".

The 47-year-old Hollywood star also revealed that he made the decision to walk away from the forthcoming Batman film as he was warned he would drink himself to death.

Affleck and Garner married in 2005 and the former couple have three children together.

Speaking to The New York Times in a deeply personal interview, Affleck said: "The biggest regret of my life is this divorce.

Ben Affleck and Jennifer Garner 

"Shame is really toxic. There is no positive by-product of shame. It's just stewing in a toxic, hideous feeling of low self-worth and self-loathing."

Affleck, who has won two Oscars as a filmmaker, will next star in the drama The Way Back, in which he portrays an alcoholic basketball coach coming to terms with the end of his marriage.

Reflecting on his own battles with drink, Affleck said: "People with compulsive behaviour, and I am one, have this kind of basic discomfort all the time that they're trying to make go away.

"You're trying to make yourself feel better with eating or drinking or sex or gambling or shopping or whatever. But that ends up making your life worse.

"Then you do more of it to make that discomfort go away. Then the real pain starts. It becomes a vicious cycle you can't break. That's at least what happened to me."

Affleck, who has starred in a number of critically-acclaimed movies including The Town, Argo and Daredevil, had been set to direct, write and star in the upcoming superhero film The Batman.

He first played the Caped Crusader in 2016's Batman v Superman: Dawn Of Justice. However, Matt Reeves has taken over as writer-director, while British actor Robert Pattinson will play the Dark Knight.

Explaining why he walked away from the project, Affleck said: "I showed somebody The Batman script. They said, 'I think the script is good. I also think you'll drink yourself to death if you go through what you just went through again'."

Click here for more movie news