You could search for non-word characters, or create a character class that has all the possible characters you want to keep. For example:
s/\W+/ /g; # replace non-word characters with a space
s/[^a-zA-Z0-9_.*$]+//g; # Delete characters that aren't word characte
+rs, periods, asterisks, or dollar signs.