Create a workflow to get a password input from the user. Validate the password using Regex for the following conditions:
-
- Must start with a capital letter.
-
- Must contain 6 â 25 characters.
Please help me
Create a workflow to get a password input from the user. Validate the password using Regex for the following conditions:
Please help me
(?=^.{6,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$"
can you help me on input side as well, i need the steps to achieve this. Thanks for your response.
Hi
Use a IS MATCH activity and mention this expression
[1][a-z0-9\W]{6,25}$
For example
For Is Match activity
Cheers @Sudheer_Kumar1
A-Z âŠī¸
Hi,
Can you try the following condition in IF activity?
System.Text.RegularExpressions.Regex.IsMatch(strPassword,"^[A-Z].{5,24}$")
Regards,
Can you help with the workflow if possible thanks
Hi,
Can you try to put this expression at Condition in IF activity, as the following?
Next, write for normal case in Then section, write for illegal case in Else section (such as RE-input message, go back to input dialog etc).
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.