Hi,
I have an textbox which accepts the following values:
1.5--->valid
1.0-->valid
12.5-->valid
12-->valid
12.0-->valid
1111->valid
When the entire text box which contains any only numeric values without a decimal point is selected,am able to edit.
But the problem is when the text box containing any of the above mentioned decimal combination is selected, and trying to edit... am not able to edit..
What could be the reason for this?
am using two regular expressions:
Regex expressionToValidate_Is_Numeric_Or_Not = new Regex("[^[0-9.]+");
Regex expressionToValidate_String_Structure = new Regex(^[\\d{1,2}([.]\\d{1})]);
please provide me a solution in C#