由网友(听闻)分享简介:在我以下提到reqular EX pression,我怎么能加双引号?< ASP:RegularEx pressionValidator SetFocusOnError =真正的ID =转=服务器显示=无ValidationGroup =问题的ErrorMessage =的ControlToValidate =t...
在我以下提到reqular EX pression,我怎么能加双引号?
< ASP:RegularEx pressionValidator SetFocusOnError =真正的ID =转=服务器
显示=无ValidationGroup =问题的ErrorMessage =的ControlToValidate =txtQuestion
ValidationEx pression =^ [0-9A-ZA-Z- /'?] + $> < / ASP:RegularEx pressionValidator>
解决方案
这听起来像它可能是一个XML问题多于正则表达式。您是否尝试过只使用&放大器; QUOT;
ValidationEx pression =^ [0-9A-ZA-Z - /'和;?QUOT;] + $>
In my below mentioned reqular expression, how can i add double quotes ?
<asp:RegularExpressionValidator SetFocusOnError="true" ID="rev" runat="server"
Display="None" ValidationGroup="question" ErrorMessage="" ControlToValidate="txtQuestion"
ValidationExpression="^[0-9a-zA-Z-/'? ]+$"> </asp:RegularExpressionValidator>
解决方案
This sounds like it may be an XML question more than regex. Have you tried just using "
?
ValidationExpression="^[0-9a-zA-Z-/'?" ]+$">
相关推荐
最新文章