Page 1 of 1

regular expression on Custom Field -How To?

Posted: 16 Sep 2008, 15:18
by artgroup
which is the regular expression to have an integer GREATER THAN zero?

If I define the minimum length to 3 digit adding 000 is accepted.

Re: regular expression on Custom Field -How To?

Posted: 17 Sep 2008, 07:00
by deboutv
Make sure that the first number is never 0: [1-9][0-9]*

Re: regular expression on Custom Field -How To?

Posted: 17 Sep 2008, 07:38
by artgroup
Thanks a lot.