6 Then Ezra withdrew from before the house of God and went to the chamber of Jehohanan the son of Eliashib, where he spent the night,  neither eating bread nor drinking water, for he was mourning over the faithlessness of the exiles. 7 And a proclamation was made throughout Judah and Jerusalem to all the returned exiles that they should assemble at Jerusalem, 8 and that if anyone did not come within three days, by order of the officials and the elders all his property should be forfeited, and he himself banned from the congregation of the exiles.
9 Then all the men of Judah and Benjamin assembled at Jerusalem within the three days. It was the ninth month, on the twentieth day of the month. And all the people sat in the open square before the house of God, trembling because of this matter and because of the heavy rain. 10 And Ezra the priest stood up and said to them, “You have broken faith and married foreign women, and so increased the guilt of Israel. 11 Now then make confession to the Lord, the God of your fathers and do his will. Separate yourselves from the peoples of the land and from the foreign wives.” 12 Then all the assembly answered with a loud voice, “It is so; we must do as you have said. 13 But the people are many, and it is a time of heavy rain; we cannot stand in the open. Nor is this a task for one day or for two, for we have greatly transgressed in this matter. 14 Let our officials stand for the whole assembly. Let all in our cities who have taken foreign wives come at appointed times, and with them the elders and judges of every city, until the fierce wrath of our God over this matter is turned away from us.” 15 Only Jonathan the son of Asahel and Jahzeiah the son of Tikvah opposed this, and Meshullam and Shabbethai the Levite supported them.
16 Then the returned exiles did so. Ezra the priest selected men,  heads of fathers' houses, according to their fathers' houses, each of them designated by name. On the first day of the tenth month they sat down to examine the matter; 17 and by the first day of the first month they had come to the end of all the men who had married foreign women. (ESV)