We can use regex to replace the * with blanks (""). The * is a metacharacter representing zero or more characters. So, we need to escape it (\\*), or place it inside square brackets ([*]) to read it as the literal * character`