jQuery(document).ready(function($) { $('.one_third.animated3.last').find('*').addBack().contents().filter(function() { return this.nodeType === 3 && this.nodeValue.includes('*Online only for a limit time.'); }).remove(); });