String constraint

Dear All,
Am using XLS.
I have a constraint field ad it has been working well for integers, however
I want one for a string variable where it only allows e.g "and42" or "as62"
or "sds32", when i put this in constraint it allows all chracters not just
these.
is there a way of doing this without going to XML raw

Thanks
Ayoub

··· -- **In sun set years education is not associated with standard of living and medical care access; it is the the financial myosin and actin!!!

**** Don't give me fish, teach me how to fish

Kayoub K
0772656158 / 0703516660
Data Manager
Mujhu Research Collaboration
Mulago Hosp
Msc Enterprise Architecture

Hi Ayoub,

https://groups.google.com/forum/#!searchin/opendatakit/regex|sort:relevance
should give you examples of regex that will help.

If that search doesn't help, send out a one question form with what
you've tried.

Yaw

··· On Tue, Feb 14, 2017 at 11:03 PM, Ayoub Kakande wrote: > Dear All, > Am using XLS. > I have a constraint field ad it has been working well for integers, however > I want one for a string variable where it only allows e.g "and42" or "as62" > or "sds32", when i put this in constraint it allows all chracters not just > these. > is there a way of doing this without going to XML raw > > Thanks > Ayoub > > -- > **In sun set years education is not associated with standard of living and > medical care access; it is the the financial myosin and actin!!! > > **** Don't give me fish, teach me how to fish > > Kayoub K > 0772656158 / 0703516660 > Data Manager > Mujhu Research Collaboration > Mulago Hosp > Msc Enterprise Architecture > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.