Can anyone recommend a regex that will reject any string with characters that should be escaped for use in an angular form input like...
<input name="name" type="text" ng-pattern="*REGEX HERE*" ng-model="selectedExercise.name" />
And yes I know that this isn't a good way to sanitize user input. Under the hood I am using also using $sanitize before communicating to the backend and doing full sanitizing on the backend too.