我无法弄清楚为什么这不起作用:
<td><asp:TextBox ID="TextBox_Tracking_BenOpt" runat="server" AutoPostBack="True"
Height="16px" Width="100px"></asp:TextBox>
<AJAXControls:MaskedEditExtender ID="MeeBenOpt" runat="server" Mask="AAAAA"
MaskType="None" TargetControlID="TextBox_Tracking_BenOpt"
PromptCharacter="_" InputDirection="LeftToRight"
Filtered="ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" />
<asp:RegularExpressionValidator Display="Dynamic"
ControlToValidate="TextBox_Tracking_BenOpt" ID="RevBenOpt"
ValidationExpression="^[0-9A-Z]{5,}$" runat="server" ErrorMessage="X"
ForeColor="Red" Font-Size="Large"></asp:RegularExpressionValidator></td>
它的作用是它只允许5个字符并且它们是字母数字,但我只想允许数字和大写字母。如何摆脱小写字母?