Hi,
I'm stuck; i need to sort on a meta data field value witch could contains 1 or more caracters: true or false
If the field contains: A, D, AB, CZ then it should be Yes otherwise it false
i cannot tackle it with [A-Z]{1,2}
Does anyone has a suggestion?
Thanks in advance!
Search variable for 1 or 2 caracters in Meta data field
Re: Search variable for 1 or 2 caracters in Meta data field
Hi,
A bit confused here.
If you need to filter non empty data whatever that is something like
.+
should do.
If you need up to 2 characters at max, then use
.{1,2}
If you need only to filter on specific values, choose
(A|D|AB|CZ)
HTH
Loic
A bit confused here.
If you need to filter non empty data whatever that is something like
.+
should do.
If you need up to 2 characters at max, then use
.{1,2}
If you need only to filter on specific values, choose
(A|D|AB|CZ)
HTH
Loic