How to validate decimal value
-
Hi, In my programe i am one using datagrid. User can enter decimal value and i am validating the value. for that i am using RegulerExpression. (?!^0*$)(?!^0*\.+0)*$^\d{1,5}(\.+\d{1,2})?$ but this is not working it's giving error. Message "Invalid escape sequence" those are . and \ help me its arrgent. Thanks asif
-
Hi, In my programe i am one using datagrid. User can enter decimal value and i am validating the value. for that i am using RegulerExpression. (?!^0*$)(?!^0*\.+0)*$^\d{1,5}(\.+\d{1,2})?$ but this is not working it's giving error. Message "Invalid escape sequence" those are . and \ help me its arrgent. Thanks asif
Hi, A very good site for regex is Regular Expression Library[^]. If you search here for decimal you will find 93 regex samples. There's also a regex tester on it. Sven
-
Hi, In my programe i am one using datagrid. User can enter decimal value and i am validating the value. for that i am using RegulerExpression. (?!^0*$)(?!^0*\.+0)*$^\d{1,5}(\.+\d{1,2})?$ but this is not working it's giving error. Message "Invalid escape sequence" those are . and \ help me its arrgent. Thanks asif