Hi @Jean_Amukwatse, welcome to the forum and thanks for adding your profile picture. It helps build community! We're glad you're here. When you get a chance, please introduce yourself on this forum thread.
In the phone number constraint example with (regex(.,'[0-9]{11}'))
the {11}
is checking for a length of 11. The {}
can take 2 arguments {min,max}
. So for a batch number of 3-8 digits of all numbers you could do appearance
= numbers
and constraint
= regex(.,'^[0-9]{3,8}$')
.
More details in the documentation on using regular expressions can be found in the docs.