Support » Fixing WordPress » Search and Replace in Multiple posts

  • Using the great plugin Search Regex, I was able to make changes to all of my posts…IF what I wanted to search and replace was on ONE line. However if I needed to seaerch for items on multiple lines I could not. See example below.

    Chitka, has recently made changes to their scripts that may violate Google’s TOS, so I want to replace all of links to Chitika.

    Now here is my problem…below you will see what I am trying to replace.
    ch_client = “Nevis1”;
    ch_type = “mpu”;
    ch_width = 300;
    ch_height = 250;
    ch_color_title = “0000ff”;
    ch_color_text = “000000”;
    ch_non_contextual = 4;
    ch_vertical =”premium”;
    ch_sid = “Chitika Premium”;
    var ch_queries = new Array( );
    var ch_selected=Math.floor((Math.random()*ch_queries.length));
    if ( ch_selected

    When I try and enter this in the search line I only get the first line. I have tried using notepad++ to have the whole section of text come up on one line, but then the plugin does not seem to find anything.

    Any ideas on what I should try?

  • The topic ‘Search and Replace in Multiple posts’ is closed to new replies.