I have defined the following validation:
Validators.pattern("/^[ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ][0-9][ABCEGHJKLMNPRSTVWXYZ][0-9]$/")]]
Its to validate postal codes, but when I enter the string 'K1K1A1' the validator says its invalid.
What is wrong with my regex?