Shanmugam Rajagopal
asked on
generate random string with pattern in C#
Hi, How to generate random string with below pattern in C#
MAX LENGTH - 15
NUMERIC- 1
LOWER CASE - 1
UPPER CASE - 1
NON-APLHA NUMERIC - 1
MAX LENGTH - 15
NUMERIC- 1
LOWER CASE - 1
UPPER CASE - 1
NON-APLHA NUMERIC - 1
MAX LENGTH - 15
NUMERIC- 1
LOWER CASE - 1
UPPER CASE - 1
NON-APLHA NUMERIC - 1
Do you mean the 15 character string must have at least 1 of Numeric ,Upper Case, Lower Case, Non-Alpha Numeric. Or a string of up to 15 Characters meeting the above rules
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks All for posting different solutions. I will try and update which works well.
Mr David, yes (15 character string must have at least 1 of Numeric ,Upper Case, Lower Case, Non-Alpha Numeric).
Mr David, yes (15 character string must have at least 1 of Numeric ,Upper Case, Lower Case, Non-Alpha Numeric).
ASKER
Thanks everyone for your help
Open in new window
Or like this.
Open in new window