ng-pattern (npm): This directive checks the input value against the passed RegExp string. <br> If the new value matches RegExp, directive passed it through and writes it to the input. <br> If the new value doesn`t matches RegExp: <br>
Keywords: angular|directive|regexp|typescript|input|formcontrol