I have to avoid some some special characters in ng-pattern. I can able to avoid all special characters by using following code
ng-pattern="/^[a-zA-Z0-9]*$/"
But I have to avoid only these charecters
%;:'",<>
How to do write ng-pattern
Update:
<input type="text" class="txt_box" ng-disabled="filechoosen" name="file_name" ng-pattern="/^[^%;:\x27\x22,<>{}[\]\/]*$/" ng-model="filenameedit" id="filenameedit">
<div style="color:Red" ng-show="file_name.$error.pattern ">These charecters are not allowed</div>