Search/Replace

0
0
jQuery(function () { 
    jQuery(":contains(FIND)").not(":has(:contains(FIND))").each(function () { 
        var that = $(this), 
            html = that.html(); 
         
        html = html.replace(https://cdn.css-tricks.com/(\(FIND:.*?\))/g, "REPLACE-WITH"); 
        that.html(html); 
    }); 
});
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.