I’m working with a simple RegularExpressionValidator. The textbox has to be 14 digits long (exactly 14). So, I use ValidationExpression="\d{14}"></asp:RegularExpressionValidator> but that instance just allow numbers, and I need letters also (to be clear, no special characters or dots, semi-colons, only numbers and letters).
What would fit better than "\d{14}" ?
thanks!
\d replaces only digit characters.
Try with \w which replaces letters and also numbers.
So your expression should be: