Password validation REGEX to disallow whitespaces
c#, regex, validation
Solution
`^((?!.*[\s])(?=.*[A-Z])(?=.*\d).{8,15})`
Problem
- Password cannot contain white spaces - must contain at least one numeric char - must contain 1 capital letter - and be at least 8 characters in length, max 15 this is what i've got, which does all except WHITE SPACE rule. ``` ((?=.*\d)(?=.*[A-Z]).{8,15}) ``` what to add for that? Thanks a lot! Language: c#, asp:RegularExpressionValidator