/ Published in: JavaScript
URL: http://stackoverflow.com/questions/24816/escaping-strings-with-jquery
Expand |
Embed | Plain Text
function stripHTML(string) { return string.replace(/<(.|\n)*?>/g, ''); }
You need to login to post a comment.
