For those who have the same question (or similar), Marc provided the
correct answer in my context: ^(|\d{2})$Thank you Marc GH 2014-09-30 10:13 GMT-04:00 Marc Chantreux <[email protected]>: > On Tue, Sep 30, 2014 at 09:18:37AM -0400, Gaston Huot wrote: > > In this custom field, the user has to enter: > > -either nothing > > -either a number of exactly 2 digits > > if you use the x modifier: > > > ( > # Nothing > | > \d{2} # two digits > ) > > the old school one is > > (|\d{2}) > > HTH > > -- > Marc Chantreux, > Mes coordonnées: http://annuaire.unistra.fr/chercher?n=chantreux > Direction Informatique, Université de Strasbourg (http://unistra.fr) > Service Métiers, Pôle Outils Collaboratifs > "Don't believe everything you read on the Internet" > -- Abraham Lincoln > -- Gaston 514.823-7202
-- RT Training November 4 & 5 Los Angeles http://bestpractical.com/training
