From Afghanistan to Algeria, jihadists plan to use Donald Trump's shocking U.S. presidential victory as a propaganda tool to bring new fighters to their battlefields.

Taliban commanders and Islamic State supporters say Trump's campaign trail rhetoric against Muslims — at one point calling for a total shutdown of Muslims entering the United States — will play perfectly in their recruitment efforts, especially for disaffected youth in the West.

"This guy is a complete maniac. His utter hate towards Muslims will make our job much easier because we can recruit thousands," Abu Omar Khorasani, a top ISIS commander in Afghanistan, told Reuters.

Trump has talked tough against militant groups on the campaign trail, promising to defeat "radical Islamic terrorism just as we won the Cold War."

The president-elect later toned down his call for a total ban on Muslim entry to say he would temporarily suspend immigration from countries that have "a history of exporting terrorism."

Iraqi Shia cleric Moqtada al-Sadr said in a statement that Donald Trump doesn't differentiate between extremist and moderate Islamist trends, while expressing views that will encourage Islamic radicals. (Alaa-Al-Marjani/Reuters)

But he has offered few details on his plans to combat various radical groups, including ISIS, the Taliban and al-Qaeda, which represent a wide spectrum of political views.

"He does not differentiate between extremist and moderate Islamist trends and, at the same time, he overlooks [the fact] that his extremism will generate extremism in return," Iraq's powerful Shia Muslim cleric Moqtada al-Sadr said in a statement.

Trump win 'unexpected': Khorasani

Sadr's political reform movement, which commands thousands of followers, is a staunch opponent of the radical Sunni movements ISIS and al-Qaeda, and unlike them has not waged or promoted attacks in the West.

The United States has seen a handful of attacks inspired by Islamist militant groups, including the June massacre of 49 people at an Orlando nightclub by a gunman who called a TV station swearing allegiance to ISIS and the killing of 14 people at a San Bernadino, Calif., social services agency last December.

U.S. officials have warned the country will likely face a higher risk of similar attacks as ISIS urges supporters to launch attacks at home instead of joining its fight in the Middle East.

"Our leaders were closely following the U.S. election but it was unexpected that the Americans will dig their own graves and they did so," said ISIS's Khorasani, who described President Barack Obama as a moderate infidel with at least a little brain in comparison to Trump.

President-elect Donald Trump promised to take the fight to Islamic State on the campaign trail, but offered few specifics as to how he'd deal with ISIS, Taliban or al-Qaeda on the campaign trail. (Pablo Martinez Monsivais/The Associated Press)

Al-Qaeda, which has proven resilient more than 15 years after launching the Sept. 11 attacks on New York and the Pentagon, has yet to comment on Trump's victory.

The militant group will likely respond after Trump's first speeches as president, anticipating they will be able to exploit his comments to win support, said Hisham al Hashemi, who advises the Iraqi government on Sunni jihadist movements.

"Al-Qaeda is known for its recruitment strategy that heavily quotes speeches of the White House and other Western officials," he told Reuters.

Perceived Western hatred key to recruiting

Trump's office did not immediately respond to requests for comment on the statements from the militants. Even if Trump tones down his anti-Muslim comments when he takes office in January, analysts say his statements during the campaign trail were enough to fuel the militants' propaganda machine.

"Militants will still use those quotes," said Matthew Henman, head of IHS Jane's Terrorism and Insurgency Centre. "The key thing militant groups, particularly Islamic State and al-Qaeda, depend on for recruitment purposes is convincing Muslims in the Western world that the West hates them and won't ever accept them as part of their society."

A senior Taliban commander in Afghanistan said the group, whose resurgence is undermining efforts to end America's longest war, had kept track of all of Trump's speeches and anti-Muslim comments.

"If he does what he warned in his election campaign, I am sure it will provoke Muslim Ummah [community] across the world and jihadi organizations can exploit it," said the militant leader, who declined to be identified because of strict Taliban policy that only its official spokesman can make statements.

Shortly after Trump's victory, several jihadist sympathizers took to social media to declare this as an opportunity for their cause.

"The dog Trump's victory in the U.S. elections is a gold mine for Muslims not a setback if they know how to use it," tweeted @alhlm200, who regularly posts statements in support of Islamic State.

And in Algeria, @salil_chohada, an Islamic State supporter whose name on the Twitter account is Mohamed Aljazairie, said: "Congratulations to the Muslim nation over the infidel Trump's victory. His stupid statements alone serve us."