π Spookyberb π β 12-08 Nov 4
Whats wrong with my regex expressions?
Number, letter and min length of 2:
/\d{1,}\w{1,}/
Number, lower case letter, upper case letter and min length of 3: /[a-zA-Z\d]/
4 Replies
Number, letter and min length of 2Is it required to have at least 1 of each?
Number, lower case letter, upper case letter and min length of 2:
[]
denotes a set where any one of the elements should be presentyes, it has to have minimum one of each
and then you can add whatever you want
\w
also includes numbers
so 22
would be acceptedThis thread hasnβt had any activity in 12 hours, so itβs now locked.
Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1038062225354665987