160
rated 0 times
[
166]
[
6]
/ answers: 1 / hits: 70893
/ 9 Years ago, mon, november 23, 2015, 12:00:00
I have tried Regex accept numeric only. First character can't be 0 and What is the regex for "Any positive integer, excluding 0" however that didn't work as per my requirements.
I want exact 6 digit numeric number but shouldn't start with 0
I've tried
^[1-9][0-9]{6}*$
^([^0][0-9]){6}$
...
Need fine tuning.
More From » regex