Add options to specify the beginning and the end of the password.