To get rid of the separators have to select "integer" for the fields format (see binding palette).
How long are the numbers a user can enter to the field?
A pattern can only match one case.
So num{9999999} will display 121587 as 0121587 and 123 as 0000123.
If you want a leading zero to every entry then you will need scripting.