What is the expression on RegularExpressionValidator to check if the Textbox text is 6 or more characters long?

前端 未结 2 448
夕颜
夕颜 2021-01-19 02:59

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

2条回答
  •  佛祖请我去吃肉
    2021-01-19 03:46

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

    EDIT: I guess it worked.

提交回复
热议问题