I want a textbox to have a value between 0 and 24. However the below pattern does not seem to be working.
Regex regex = new Regex("^([0-9]|1[0-9]|2[0-4])$");
I want a textbox to have a value between 0 and 24. However the below pattern does not seem to be working.
Regex regex = new Regex("^([0-9]|1[0-9]|2[0-4])$");