Regex validation for the "Change Password" page.