Each code works once. You'll set a new password.
Spaces and dashes don't matter.
At least 10 characters. A short sentence works well.