In the modern-day, there are a lot of characters defined in different classes. These characters can be letters, numbers, signs, special characters, etc. One of the categorizations of the characters is alphanumeric and non-alphanumeric characters. Non-alphanumeric characters are characters that are not numbers or letters. Non-alphanumeric characters consist of signs and special characters.
Non-alphanumeric Characters
Non-alphanumeric characters are characters except alphanumeric characters. So alphabet and numeric characters are not non-alphanumeric characters. Below you can find a generic list of non-alphanumeric characters.
(blank space) ~ (tilde) ` (grave accent) ! (exclamation mark) @ (at) # (pound) $ (dollar sign) % (percent) ^ (carat) & (ampersand) * (asterisk) ( (open parenthesis) ) (close parenthesis) _ (underscore) - (hyphen) + (plus sign) = (equals) { (open brace) } (close brace) [ (open bracket) ] (close bracket) | (pipe) \ (backslash) : (colon) ; (semicolon) < (less than) , (comma) > (greater than) . (period) ? (question mark) / (forward slash)
Punctuation Characters
The punction characters are part of non-alphanumeric characters.
! @ # & ( ) – [ { } ] : ; ' , ? / *
Symbol Characters
Symbol characters are characters that are symbols like below. The symbol characters are also non-alphanumeric characters.
`
~
$
^
+
=
<
>
“
Regex For Non-alphanumeric Characters
Regex is a popular method in order to express specific patterns, characters, etc. The non-alphanumeric characters can be expressed with the following regex.
^[^a-zA-Z0-9]+$