THE FORUM IS IN READ-ONLY MODE
Function/Keycheck if PASS has a special character
Suro last edited by
I'm trying to use a function and a keycheck to check if the pass contains at least a special character example @!?$#.,
I'm already using the function Lenght to check if the <PASS> is less than 8 but i don't know how to use the rexeg function (if it's what i need)
Thanks if you can help me
Br4uN last edited by Br4uN
will not be the best Regex but works ^__^
KEYCHECK KEYCHAIN Success OR KEY "<PASSWORD>" MatchesRegex "([^a-zA-Z0-9\s])" KEYCHAIN Failure OR KEY "<PASSWORD>" DoesNotMatchRegex "([^a-zA-Z0-9\s])"
but use Data Rule instead of KeyCheck will be better
Other Option ---> Data ---> Add Rule ---> ( MustMatchRegex ([^a-zA-Z0-9\s]) and MinLenght 8 )
meinname last edited by
But why not just use the Data Tab of the config?