js check for a string and replace all its ocurrences eith just one string code example Example: str replace javascript all str.replace(/abc/g, '');