lib/vendor/sugar.js
function() {
      var str = this, args = arguments.length > 0 ? arguments : ['\\S+'];
      flattenedArgs(args, function(t) {
        var reg = regexp('<(' + t + ')[^<>]*(?:\\/>|>.*?<\\/\\1>)', 'gi');
        str = str.replace(reg, '');
      });
      return str;
    }
function() {
      var str = this, args = arguments.length > 0 ? arguments : ['\\S+'];
      flattenedArgs(args, function(t) {
        var reg = regexp('<(' + t + ')[^<>]*(?:\\/>|>.*?<\\/\\1>)', 'gi');
        str = str.replace(reg, '');
      });
      return str;
    }
*
@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

'<p>just <b>some</b> text</p>'.removeTags()    -> ''
'<p>just <b>some</b> text</p>'.removeTags('b') -> '<p>just text</p>'

*