string quote = "\""; MyControl.ValidationExpression = @"([a-z]*[A-Z]*[0-9]*[\.]*[\s]*[\']*[?]*[!]*[-]*[=]*[\*]*[:]*[;]* [,]*[\\]*[/]*[{]*[}]*[|]*[\[]*[\]]*[\(]*[\)]*[+]*[`]*[~]*[@]*[_]*[#]*[\$]*[%]*[\^]*[&]*[\" + quote + "]*)*";
No comments:
Post a Comment