check @ between 2 numbers javascript regex code example Example: if between two numbers javascript if (500 < thenumber && thenumber < 600) { // ... }