フォームに住所フィールドがあり、制限し* | \ " : < > [ ] { } \ ( ) '' ; @ & $
たい
var nospecial=/^[^* | \ " : < > [ ] { } ` \ ( ) '' ; @ & $]+$/;
if(address.match(nospecial)){
alert('Special characters like * | \ " : < > [ ] { } ` \ ( ) \'\' ; @ & $ are not allowed');
return false;
しかし、それは機能していません。私が逃したものを教えてください。