I have some textboxes I'm using as search-fields. The textbox can be empty, but when a search-criteria is filled in, it must be at least 3 characters long, ignoring the spaces in the count.
I've found that a regularexpressionvalidator validates true when the textbox is empty, so that part is ok.
Q: regex for a minimumlenth of 3 characters. Spaces are allowed, but should not count in the length.
Thanks.