The civilians will have to be relocated somewhere else. If the Muslim world refuses to accept them, the Israelis will have to build refugee camps in the Negev Desert. Then they can wait out the remaining Hamas terrorists until they starve to death.
Okay Joe, we will be as careful as you are in keeping illegals out of your country.