Posts by Edilson • 11 points
1 post
-
1
votes1
answer89
viewsQ: String with spaces - Regex Ismatch returns true when it should return false
I have the following Regex (?=.*\d)(?!.*\s)(?=.*[a-zA-Z\s]).{6,12} If I do tests on site that test Regex, it works, in the view Model Annotation to validate works, but when I do in service…