Added first and last uppercase requirement.