Node.js examples for String:String Value
Returns a copy of the string with all the tags removed
/**/* ww w. ja va2s. c om*/ * returns a copy of the string with all the tags removed * @return String without tags */ stripTags: function() { return this.replace(/<\/?[^>]+>/ig, ''); },