I know I can match numbers by doing something like [2-9]
I would match only numbers 2 and higher, but what can I do for numbers with more digits?
For instance, if I wanted to match numbers higher than 734
I could do [7-9][3-9][4-9]
, but that would not match some numbers like 741
.
Is there a proper way to do this? Also, can it be made to work for numbers with an arbitrarily large amount of digits?