My input number is an int. But the input number must be in a range from -2055 to 2055 and I want to check this by using regular expression.
So is there anyway to wri
Why use Regex only to check a number?
int n = -2000; if(n >= -2055 && n <= 2055) //Do something else //Do something else