Regex Codes in KoBoToolbox

Good evening, there are a number of questions
If I want that there are codes
1- to determine the number of words written in a text (I want the number of words not to exceed 100 words).
2- He can only write an email within a text.
3- In the option to write the phone number, specify the number of digits with 10 digits inside the special box and start with, for example, 079.

@salemalkilani, you could do this as outlined below:

regex(., '^\W*(\w+\b\W*){100}$')

regex(., '^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+[.][A-Za-z]{2,}$')

regex(., '^[0-9]{10}$')
Note: You will additionally need to make the question type text and appearance as numbers for this to work smoothly.

For details, please feel free to have a look at our support article Restricting Text Responses With Regular Expressions.

Thank you very much, but the first code for words does not allow me to write any word. Is there a line in it or is there another code or an explanatory way to work with it and I would like the writing to be in a language other than English, such as French or Arabic

It should work perfectly with English. Maybe our colleagues speaking in French and Arabic should be able to help you create a regex code for this.