Forum Discussion
deep198486
Nov 13, 2024Copper Contributor
password match regex for sensitive info type
need to create regex for password match for combination of uppercase , lowercase ,numbers and special characters
I use this regex ^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[^a-zA-Z0-9]).{8,}$
but get below error
Invalid regex detected. Please address the following errors:
You cannot configure a pattern with groups or multiple match conditions like (.*, .+, .{0,n} or .{1,n}). Remove the group or the multiple match condition from the pattern to continue.
Is this achievable in Microsoft sensitive info type regex pattern string match
2 Replies
There's a built-in SIT for credentials, just use that: https://learn.microsoft.com/en-us/purview/sit-defn-all-creds
- deep198486Copper Contributor
i tried testing this but it does not detect my case
i am trying to detect password sharing via IM like teams