nl_tokens: * @method removeTags ( [ tag1 ] [ tag2 ] ... ) @returns String @short Removes all HTML tags and their contents from the string . @extra Tags to remove may be enumerated in the parameters otherwise will remove all . @example
pl_tokens: function ( ) { var str = this , args = arguments . length > 0 ? arguments : [ '\\S+' ] ; flattenedArgs ( args , function ( t ) { var reg = regexp ( '<(' + t + ')[^<>]*(?:\\/>|>.*?<\\/\\1>)' , 'gi' ) ; str = str . <mask> ( reg , '' ) ; } ) ; return str ; }