/^[A-Za-z0-9\\s]+$/i");<input data-val="true" data-val-regex="Only letters, numbers, and spaces are alloweddata-val-required="Alias is required" id="Alias" name="Alias" place
我的应用程序使用unicode字符,我有几个文本字段,在这些字段中,我希望限制用户输入特殊字符,比如:'"; if not (Key in ['a'..'z','A'..'.'9',#13,#8]) then if Key = #13 thenend;
因此,在这一点上,它允许用户添加空格并使用backspace键擦除,当然,<