I would like to use a regular expression to match a number with a defined length and leading zeros. For example with number length of 6:
"000123" //Match
"002535" //Match
"2654" //No match
"000021" //Match
Which regular expression can I use for this?