You did not tell us what the files look like. Anyway:
You can compare numbers numerically with the == operator, so you do not need to care about leading zeros.
In reply to Re: Regex and leading zeros in numbers
by Happy-the-monk
in thread Regex and leading zeros in numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |