Some problems with regularization js?

match `~! @-sharp$% ^ & * () _ +-= [] {} |;: ",. / < >? these special symbols, how to write regular, always report errors. I don"t know what needs to be escaped

.

wrap them together in square brackets, and then escape a set of square brackets in the outermost square brackets with a backslash

/[`~!@-sharp$%^&*()_+-=\[\]{}|;:'",./<>?]/

symbols are escaped, and then you can match the items that are allowed to be entered.


reference: Chinese third edition of javascript Advanced programming, P103

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36020-2bfd2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36020-2bfd2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?