J
Jaroslav Bucek
Hi,
is it possible to create regular expression, using c# Regex to:
1. check if the string does NOT contain a word
2. check the same as 1. but for reverse word
Why:
I have to check when the password doesn't contain username nor reverse
username.
Example:
I've username: joe
The password must not contain "joe" nor "eoj".
I know I can use "joe+" regex, but this returns true in case the string
"joe" is present but I need to get false in that case.
Thank you in advance.
Jarda
is it possible to create regular expression, using c# Regex to:
1. check if the string does NOT contain a word
2. check the same as 1. but for reverse word
Why:
I have to check when the password doesn't contain username nor reverse
username.
Example:
I've username: joe
The password must not contain "joe" nor "eoj".
I know I can use "joe+" regex, but this returns true in case the string
"joe" is present but I need to get false in that case.
Thank you in advance.
Jarda