You could do it as outlined in the image shared below:
In the survey tab of your xlsform:
Data entry screen as seen in Enketo: when a condition is not met
Data entry screen as seen in Enketo: when a condition is not met
Data entry screen as seen in Enketo: when a condition is not met
Data entry screen as seen in Enketo: when a condition is not met
Data entry screen as seen in Enketo: when a condition is not met
Data entry screen as seen in Enketo: when a condition is met
Reference xlsform:
Regex.xlsx (10.3 KB)