Support » Plugin: Better Search Replace » Delete Adsense code (multiple lines)

  • Hi,

    Thanks for the great plugin.

    Hope you can help us out with this. In the past some editors placed old Adsense code directly in our posts. We want to remove all those lines completely. The code is something like:

    <div style="width: 265px; float: left;clear:left; margin: 10px; display: none;">
    
    <script type="text/javascript"><!--
    google_ad_client = "pub-############";
    /* 250x250, gemaakt 12-1-10 */
    google_ad_slot = "###########";
    google_ad_width = 250;
    google_ad_height = 250;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>

    Is there a way to delete these lines via the plugin? Or do you have other tips to delete the code (other than going manually through thousands of posts)

    Thanks in advance.

    Yuri

Viewing 1 replies (of 1 total)
  • That`s very interesting question… Can anybody help us ? Is there is a way to change a block of text by better search replace plugin ?

Viewing 1 replies (of 1 total)
  • The topic ‘Delete Adsense code (multiple lines)’ is closed to new replies.