I have a little question :) Need a regex for a string -- 6 characters, for example "112233abc" This regex should look for first 6 characters to be digits, and be in range 100000-200000 (higher than 100 000 and lower than 200 000)
Thank you.
I have a little question :) Need a regex for a string -- 6 characters, for example "112233abc" This regex should look for first 6 characters to be digits, and be in range 100000-200000 (higher than 100 000 and lower than 200 000)
Thank you.
There isn't any question thats 1. 2. Try this:
^[1]\d{5}
Or if You want also match 200000:
(^[1]\d{5}|^200000)