In AngularJS, I am creating folder. When a folder is created with name containing - /:?"<>| characters , I want to do validation to show error message - "A folder name cannot contain any of the following special characters /:?"<>| ".
What logic should i use to do the validation for folder name?