I am using Asp.Net/C# .I am using RegularExpressionValidator control for validating my password textbox.My passowrd field can allow alphanumeric characters and only one non-alphanumeric character.Can anybody how do I allow user to enter such a pattern.
Any help will be much appreciated.
Thanks
Something like that? (Add anchors if necessary – not sure about how the validators apply the regex)