Javascript String removeBreakTags()
removeBreakTags()
'use strict';/*from ww w . ja v a2s. c o m*/ var DEV_MODE = false; String.prototype.removeBreakTags = function() { var target = this; return target.replace(new RegExp('<br/>', 'g'), ' '); };