php - Regex - First 6 characters must be digits and be in range (x, y) -
i have little question :) need regex string -- 6 characters, example "112233abc" regex should first 6 characters digits, , in range 100000-200000 (higher 100 000 , lower 200 000)
thank you.
there isn't question thats 1. 2. try this:
^[1]\d{5}
or if want match 200000:
(^[1]\d{5}|^200000)
Comments
Post a Comment