Within the ng-pattern
attribute, we can define a specific pattern for a field to match.
Is there a way to indicate that the field should NOT match the specified pattern?
For instance:
<input type="text" ng-pattern="/[*|\":<>[\]{}`()';@&$]/" />
In this case, I intend for the field not to conform to the pattern. Instead, I want an error to be displayed if the pattern is matched.