/ Published in: JavaScript
Expand |
Embed | Plain Text
String.prototype.strip_tags = function() { return this.replace(/<(.|\n)*?>/g, ''); }
You need to login to post a comment.
nerdfiles on 03/10/10
1 person have marked this snippet as a favorite
String.prototype.strip_tags = function() { return this.replace(/<(.|\n)*?>/g, ''); }
You need to login to post a comment.