In ng-pattern
we have the option of specifying that the field should match a specific pattern.
How can we specify that it should NOT match the specified pattern?
Example,
<input type="text" ng-pattern="/[*|\":<>[\]{}`()';@&$]/" />
Here, I DONT want the field to match the pattern. On the contrary, I want to show error if the pattern matches.