State of knowledge

December 2021

Observation

When using a regular expression to remove special characters (e.g. * or #) it does not take effect.

Possible reason

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.

Solution

Put a backslash \ in front of the function characters to comment them out.