Skip to content

Instantly share code, notes, and snippets.

@DeeJayTC
Created August 7, 2020 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeeJayTC/fffa33f1cfbebbd351c0d16071d44911 to your computer and use it in GitHub Desktop.
Save DeeJayTC/fffa33f1cfbebbd351c0d16071d44911 to your computer and use it in GitHub Desktop.
{
"type": "Input.Text",
"placeholder": "Placeholder text",
"label": "Password",
"id": "pwd",
"regex": "(?=(.*[0-9]))(?=.*[\!@#$%^&*()\\[\]{}\-_+=~`|:;"'<>,./?])(?=.*[a-z])(?=(.*[A-Z]))(?=(.*)).{8,}",
"isRequired": true,
"errorMessage": "1 Lower, 1 Upper, 1 Special and min 8 chars required"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment