/ Published in: JavaScript
Removes the html tags in the string in javascript.
Expand |
Embed | Plain Text
var att = str.replace(/(<([^>]+)>)/ig,"");
You need to login to post a comment.
punuhan on 07/13/11
1 person have marked this snippet as a favorite
Removes the html tags in the string in javascript.
var att = str.replace(/(<([^>]+)>)/ig,"");
You need to login to post a comment.