Get a small fish net and cut the handle off, then put a sliced cucumber inside (or lettuce etc.) and wait for an hour to a day, they should have gone into the net and you can easily discard them. (Zit his advice was given to me from a very experienced fish/aquatic animal owner)
Luv4bettas