I am currently using the following regex pattern:
Validators.pattern("^[1-4]*$")
What I am trying to accomplish is to produce a valid state if the digits 1-4 are entered and invalid state if anything else is submitted. Thing is, if I submit let's say 11, it still counts it as valid. How do I need to change the regex around to meet the above requirements?