I am using a RegularExpressionValidator in visual studio and I am struggling to create the correct regular expression for my needs. Here is what I want:
The input can contain any character except <>:"/|?*
Also, the input can not contain two backslashes in a row
So, your\mom would be ok but your\\mom would fail as would your*mom
The closest I have come at this point is something like
^(?=.*[^<>:"/|?*])(?:[^\\]+|\\(?:$|[^\\])).{0,100}$
but it doesn't work.