Remove specified character in a string

Thanks but the question is how to remove them, any idea?