Validators
Validators can be used in your code to run common validations against any kind of data. They are also available in Panel fields to extend form validation.
Examples
To give you an idea of what you can do with validators, here are some examples: