jQuery('.del_sl').each(function(){ var s = jQuery(this).html(); var s = s.replace(/[\/]/g, ''); jQuery(this).html(s); });