I guess it depends what language you are targeting. In general, something like this should work:
[^<>%$]
The "[]
" construct defines a character class, which will match any of the listed characters. Putting "^
" as the first character negates the match, ie: any character OTHER than one of those listed.
You may need to escape some of the characters within the "[]
", depending on what language/regex engine you are using.