how to remove certain character from String in TypeScript ? code example Example: javascript remove character from string mystring.replace(/r/g, '')