[^\\x20-\\x7E]
I saw this pattern used for a regular expression in which the goal was to remove non-ascii characters from a string. What does it
It says something like: all characters that are not (^) in the range \x20-\x7E (hex 0x20 to 0x7E).
^
\x20-\x7E
0x20
0x7E
According to http://www.asciitable.com/, those are characters from space to ~.
~