Any person aggrieved by an unlawful search and seizure may move for return of the property so seized and to suppress its use as evidence. The motion shall be filed in the district court where a felony is charged and may be made at any time after the information or indictment is filed, and must be filed at least ten days before trial or at the time of arraignment, whichever is the later, unless otherwise permitted by the court for good cause shown. Where the charge is other than a felony, the motion shall be filed in the court where the complaint is pending, and must be filed at least ten days before trial or at the time of the plea to the complaint, whichever is the later, unless otherwise permitted by the court for good cause shown. Unless claims of unlawful search and seizure are raised by motion before trial as herein provided, all objections to use of the property as evidence on the ground that it was obtained by an unlawful search and seizure shall be deemed waived; Provided, that the court may entertain such motions to suppress after the commencement of trial where the defendant is surprised by the possession of such evidence by the state, and also may in its discretion then entertain the motion where the defendant was not aware of the grounds for the motion before commencement of the trial. In the event that the trial court entertains any such motion after the commencement of trial, the defendant shall be deemed to have waived any jeopardy which may have attached.
Neb. Rev. Stat. §§ 29-822