This is a JS regular expression to have at-least one alphabet, one number & one special character in any string.
var pattern = /^(?=.*?[a-z])(?=.*?\d)(?=.*?[!@#$%\^&*\(\)\-_+=;:'"\/\[\]{},.<>|`])/i
pattern.test("Test123!@#")
How do we write same regex in C#?
This should do: