The phrase "to replace the eggs" means to substitute or use something else instead of eggs in a recipe or dish.