1 Reply Latest reply on Dec 27, 2018 1:44 PM by Ryan Nicosia

    SRM - Regular Expression - 9.1.04 patch 2

    T. D.
      Share This:

      I'm trying to have a field be only numbers, but with a maximum of 9 numbers.

       

      I tried the following (see below), but it expects 9 numbers all the time. If you enter 8 numbers you get an error.

       

      Is there a way to allow only numbers, but no more than 9 numbers.

       

      /^[0-9]{9}$/

       

      THANKS!!!!