2
4

1 に答える 1

4

You should be able to pass in the HTML encoding values. So, passing " would be like passing ". Something like this: ValidationExpression="^[^"]+$". In this regex I am saying: Match any character from the beginning till the end of the string which is not a quotation mark (").

The same applies to the other special symbols. You can take a look here for more encoding values.

于 2012-04-09T05:19:27.307 に答える