is there someone that can help me come up with a regex that restricts these characters !@#$%^&*()_-
? Most of the post here and google lead me to regex that allow a prescribed set of characters and I cannot seem to have much luck coming up with my own.
Thanks in advance.
EDIT: After some tries came up with below and seems to work so no further help needed:
"Has restricted-characters_?".replace(/^\!|\@|\#|\$|\%|\^|\&|\*|\(|\)|\_|\-|`|\?/, " ")