Exemplos
Uso com reactive forms
new FormGroup({
cpfManualLength: new FormControl('', [
Validators.required,
Validators.pattern(/^(\d{3}\.){2}\d{3}\-\d{2}$/),
Validators.minLength(14), // digits + word characters
new FormGroup({
cpfManualLength: new FormControl('', [
Validators.required,
Validators.pattern(/^(\d{3}\.){2}\d{3}\-\d{2}$/),
Validators.minLength(14), // digits + word characters