I have a textbox that should allow 123,123 format..The Problem is it should accept when you give 1(or)12(or)123( or)123,1(or)123 ,12(or)123,123 format.I Need a Regular Expression for this format. If you remove comma(,)between the format it should not accept.
Regarding RegularExpression
Collapse
X
-
Tags: None
-
Originally posted by softimasrinivasI have a textbox that should allow 123,123 format..The Problem is it should accept when you give 1(or)12(or)123( or)123,1(or)123 ,12(or)123,123 format.I Need a Regular Expression for this format. If you remove comma(,)between the format it should not accept.
^[1-3]{1,3},[1-3]{1,3}$Comment
-
RegularExpressi on
I have a textbox that should allow 123,123 format..The Problem is it should accept when you give 1(or)12(or)123( or)123,1(or)123 ,12(or)123,123 format.I Need a Regular Expression for this format. If you remove comma(,)between the format it should not accept.Comment
-
Comment