Regular Expression: ((\d{1,2},)?(\d{3},)*(\d{1,3}))|(\d+)
I have a textbox that should allow 123,123,123,123,123,1 format.TextBox MaxLength is 21.The Problem is it should accept when you give 1(or)12(or)123(or)123,1(or)123,12(or)123,123(or)12 3,123,1(or)123,123,12(or)123,123,123 same format for the rest.
It is Working fine when u put a RegularExpressionValidator Control in the Form.But ,our requirement is to get the Expression from the database.When U Place the Expression in the database,the Expression is coming from the database but it is not firing .
Can anybody suggest me what to do ?
Regards,
Srinivas