RegularExpressionValidator [英] RegularExpressionValidator
本文介绍了RegularExpressionValidator的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好.
我需要在asp.net控件中进行一次常规表达式,该表达式每次在输入的内容不是字符串(例如此处有一些文本")时都会触发.
ValidationExpression =不是此处有一些文本" ...
Hello.
I need a regular expresion in my asp.net control that will fire every time input is not a string such as "some text here".
ValidationExpression=not"some text here"...
推荐答案
请尝试以下操作:
Try this:
ValidationExpression="?!^some text here
"
这篇关于RegularExpressionValidator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文