Hi @PEHAN,
Welcome to the community! You could do the same following the instructions outlined below:
In the survey tab of your xlsform:
Data entry screen as seen in Enketo: With a wrong entry
Data entry screen as seen in Enketo: With a correct entry
Reference xlsform:
UPPER CASE (Regex).xlsx (10.1 KB)
Have a great day!