Angular has a set of built in Validators, however you can create your own custom validator and extend your own functionality over a form control, like country based phone number validations, date format, etc.
List of built in Validators can be found here;
https://angular.io/api/forms/Validators
These are just the same validators used in template driven forms.
Like “required”, “email”, “min”, “max”, and so on.
And…
There are two types of Validator functions;
Sync Validators and
Async Validators
Source Code: https://github.com/codewithsrini/Angular_Reactive_Form_Lesson_03
Part 1: https://youtu.be/4GFRjGokEVI
Part 2: https://youtu.be/Gzh4e8txfdY
Part 3: https://youtu.be/d39mapIdLes (This lecture)
Part 4: https://youtu.be/O8YhaCkY8zg