An essay of search for one of these characters in strings...
[COLOR="Blue"]
// Multiple strings to split for tests[/COLOR]
var str="hello word !@<script>@How are you ?@Well 5/5 !@2*2 = 4@...\"...@..|..@Good luck !".split('@');
[COLOR="Blue"]// The test for one of the following characters: \/:*?"<>|
[/COLOR]for (var l=str.length,i=0;i<l;i++)
alert(str[i]+(/[\\\/:\*\?\"<>]/.test(str[i])?' contains':' does not contain ')+' one of the indicated (\/:*?"<>|) characters !');
All this characters (except colon, less and more) must be escaped with a backslash in the character class delimiter by the two square brakets...