Posted on: 5/25/2011 1:19:41 PM | Views : 690

Hi,
I have a Text Box and a RegularExpression validator for the respective text box. The reqularexpression validators  ValidationExpression need to set dynamically from DB.
So the validation expression might be any forms like the TextBox value must be starts with tow digits value like  '14', '78' ,'98'..and so on. The total length must not less than 8 characters.
In early i used to set static ValidationExpression like
 
ValidationExpression="^15\d{6}$"
Go to the complete details ...