This question has obviously been asked many times regarding how to make a regex using c# to meet the requirements. I require a regex that..
- Is at least 8 characters long
- At least 1 upper case character
- 1 number
- 1 special character !@#$%^&*()
- password not the same as the login name(easy to check)
- not contain more than 2 recurring characters e.g. aaa123
Trying to work this out myself i was thinking to search for how to do each 1 of these requirements one by one and build the regex up as i go. Is this the right approach?
I feel like i could be missing something. I am reading up about regex expressions and how to create a complex one. Your feedback much needed.
Thanks.