User1724605321 posted
Hi JagjitSingh ,
If the string is not fixed , it will be 80 or 80.00 or any other input , i suggest you could try solution without regex, for example :
bool Validate(string input) {
int x;
return int.TryParse(input, out x) && x > 0 && x <= 100;
}
Best Regards,
Nan Yu