When using a regular expression to remove special characters (e.g. * or #) it does not take effect.
It should be noted that some characters such as the asterisk * and also the hash # in the regular expressions represent a function character. To treat these as characters (without function), they must be commented out.
Put a backslash \ in front of the function characters to comment them out.