Follow these steps to add validation rules to your text field:
This can also be seen in the GIF above.
The Pattern field is where we will be adding our actual rules in regex.
Now that we have seen how to add validation rules, we will look at the regex we need for pattern matching.
In the pattern textbox add the following regex:
01: [a-zA-Z0-9_\.\+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-\.]+
Do note that this only checks the email structure and does not mean the provided email exists.
You can also set an error message in the Custom error textbox. For example "Please provide a valid email address".
This will be shown to the user whenever they provide an invalid email.
Here is another article you might like 😊 Heroku cron jobs made easy and free