什么是RegularEx pressionValidator除权pression检查,如果文本框的文本是6个或更多字符长? [英] What is the expression on RegularExpressionValidator to check if the Textbox text is 6 or more characters long?

查看:174
本文介绍了什么是RegularEx pressionValidator除权pression检查,如果文本框的文本是6个或更多字符长?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是检查RegularEx pressionValidator控制的格式,如果要验证的文本框有6个或更多字符?

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

推荐答案

^ {6} $ 将做到这一点正则表达式中的大多数变种。让我验证它工作在这种特殊情况下。

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

编辑:我想它的工作

这篇关于什么是RegularEx pressionValidator除权pression检查,如果文本框的文本是6个或更多字符长?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆