Hapus tag HTML di JavaScript

let strippedString = originalString.replace(/(<([^>]+)>)/gi, "");
Vast Vicuña