No. [0-9] sets a set of characters, not numbers.
Do what you want with a regex is possible but, AFAIK cumbersome: /^(2[5-9]\d|[3-6]\d\d|7[0-2]\d|730)$/ should work (not tested)
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In reply to Re: Range of numbers
by psini
in thread Range of numbers
by marto9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |