Hello! I am using kobo forms for a field survey.
I wrote a regex for one number string to match and now need to add another for 2 possible answers
It should be 000-00C00000 or 000-00-0000
regex(.,'^[0-9]{3}-[0-9]{2}[C-][0-9]{5}$') | (,.'^[0-9]{3}-[0-9]{2}-[0-9]{4}$')
The field enumerator should be able to input only either of these number formats.
I have written the expression many ways to test but I am unable to apply it. Please help. Thank you in advance.