Kronberg Solutions Blog
The wonderful world of technology
Kronberg Solutions Blog > Uncategorized > Strip HTML tags with RegEx
Alex January 10, 2022 0 Comments
Uncategorized
var str = “<p>blah</p>”;var reg = new Regex(“<[^>]*>”);str = reg.Replace(str, “”);
← Previous post
Next post →
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Δ