I'm looking at http://asciitable.com
I'm trying to match all printable symbols, so the ranges would be the following (decimal):
33-47
58-64
91-96
123-126
The best I've seen so far is something like..
([!\"#$%&'()*+,\-.\/:;<=>?@[\\\]\^_`{\|}~"])+
Surely there's a better way?
In my application the regex will be partially visible to the user so I'd prefer something easier on the eyes (less backslashes to mess up and characters in general).
Edit: By symbols I mean everything in the range from 33 to 127 but excluding letters and numbers.