tags:

views:

25

answers:

1

What is the regular expression for a RegularExpressionValidator so it fires if the string in the validated control contains a \n, \t or is longer then 250 chars?

+1  A: 
^[^\n\t]{0,250}$
LukeH
thanks a lot. the final version is ^[^\n\t\r\f]{0,250}$
Lord Vader