Egypt's army says at least four soldiers have been killed and three others wounded in an ongoing military operation against militants in the Sinai Peninsula.

Col. Tamer Rifa, an army spokesman, said in a statement on Sunday that at least ten militants were also killed and 245 others detained during anti-terror raids in the North Sinai city of Arish.

The spokesman added that warplanes attacked six militant targets in northern and central Sinai and the Nile Delta.

The army launched the campaign after Egyptian President Abdel Fattah el-Sisi gave them a three-month deadline to crush the Takfiri Daesh terrorists in Sinai.

In recent years, militant groups have killed hundreds of soldiers, policemen and civilians in Sinai and elsewhere in Egypt.

Sinai has been the hotbed of militancy in Egypt since a coup led by Sisi ousted former President Mohamed Morsi in the summer of 2013. Sisi came to power a year later only to see attacks that had normally targeted security forces in Sinai expanded to the mainland Egypt to affect civilians.