How do I write a regular expression that includes all keyboard characters except \'~\' and \',\'?
This worked for me:
[A-Za-z0-9-]+[ 0-9A-Za-z#$%=@!{},`~&*()'<>?.:;_|^/+\t\r\n\[\]"-]*