Most data fields for onboarding processes and loops can be validated with regex.
Open a form field, add a text field and navigate to the right hand side:
Add your Regex validation in the Regex validation field.
You can test your Regex validation with the Test string field and set an error message that appears when the users adds a non conforming input:


