在 JavaScript 中去除 HTML 标签

Avatar of Chris Coyier
Chris Coyier
let strippedString = originalString.replace(/(<([^>]+)>)/gi, "");