'Remove black diamond chracter from string in JavaScript angular

Can some one please help me on this below string, I want to remove that dimond question mark from this string I have tried in multiple ways but I am unable to identify this question mark in string to remove. This chracter could be place in starting or ending or middle of the string.

�漢字汉字



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source