I would like to have a custom field alphanumeric min 1 max 8 char
I try to use:
(?#alfanum max 8)^[a-zA-Z0-9]{1,8} $
but don’t work.
i know very little regular expression …
what’s is wrong in my rexp?
thanks for help,
Marco
I would like to have a custom field alphanumeric min 1 max 8 char
I try to use:
(?#alfanum max 8)^[a-zA-Z0-9]{1,8} $
but don’t work.
i know very little regular expression …
what’s is wrong in my rexp?
thanks for help,
Marco
I would like to have a custom field alphanumeric min 1 max 8 char
I try to use:(?#alfanum max 8)[1]{1,8} $
but don’t work.
i know very little regular expression …
what’s is wrong in my rexp?
You seems to have a space char " " before ending “$”.
a-zA-Z0-9 ↩︎
Acc… ! my eyes have some problems …thanks Emmanuel, now it work
Marco----- Original Message -----
From: “Emmanuel Lacour” elacour@easter-eggs.com
To: rt-users@lists.bestpractical.com
Sent: Monday, October 06, 2008 11:43 AM
Subject: Re: [rt-users] custom fields validation
On Mon, Oct 06, 2008 at 11:37:15AM +0200, Marco Avvisano wrote:
I would like to have a custom field alphanumeric min 1 max 8 char
I try to use:(?#alfanum max 8)[1]{1,8} $
but don’t work.
i know very little regular expression …
what’s is wrong in my rexp?You seems to have a space char " " before ending “$”.
Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.comDiscover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
a-zA-Z0-9 ↩︎