Below is my regex
var pattern = new RegExp(/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/);
I want this pattern to be changed to match like folder name creation restriction in windows 7 which doesn't allow below
\/:*?"<>|
How should I change my pattern to achieve this? I never wrote regex on my own as of now, I definitely will learn this soon.
Thanks.