strip all p tags in js code example
Example 1: js strip_tags
let strippedString = originalString.replace(/(<([^>]+)>)/gi, "");
Example 2: get all a tags javascript
document.anchors
let strippedString = originalString.replace(/(<([^>]+)>)/gi, "");
document.anchors