Cannot enter! @#¥%…&* Regular expression writing for this character:
/[@#\$%\^&\*]+/g This contains any of the above special characters. Pick! Just
alert(!/[@#\$%\^&\*]+/("test")) Returning false means that there is no illegal characters.
/[@#\$%\^&\*]+/g This contains any of the above special characters. Pick! Just
alert(!/[@#\$%\^&\*]+/("test")) Returning false means that there is no illegal characters.