I want to validate numbers between 2009-2059 in validator pattern at typeScript code. I tried many ways but could not find a way to do it ? Could you please look at the sample code and tell me how to fix it ?
Regards Alper
you can see the sample code below.
],'Input3': [this.guiTranformatorInput.JJJJ_input3,[
Validators.required,
Validators.pattern('20[0-5][8-9]'),
]