R – the expression on RegularExpressionValidator to check if the Textbox text is 6 or more characters long


what is the format for the RegularExpressionValidator control to check if the textbox to be validated has 6 or more characters?

Best Solution

^.{6,}$ will do it in most variants of regex. Let me verify it works in this specific case.

EDIT: I guess it worked.