Tag Archives: Regex

Strip Specific HTML Tags From String

In fiddling around with some code highlighters to use for this blog, I found myself needing a way to strip tags from a JavaScript string of HTML, while leaving others. I needed it so I could convert highlighted code to … Continue reading

Posted in JavaScript | Tagged , , , , , | 2 Comments