WordPress.org

Ready to get started?Download WordPress

Forums

Search and Replace
[resolved] Multiple line search & replace? (2 posts)

  1. dmpp
    Member
    Posted 1 year ago #

    Any thoughts on how to do a multiple line search and replace?

    I want to replace
    <div class="box75">
    <div class="padding">
    <div class="box">

    with
    <div class="box50">
    <div class="center">
    <div class="border">

    The issue is that I have some <div class="box"> areas that I want to retain, so I can't just replace line by line...

    http://wordpress.org/extend/plugins/search-and-replace/

  2. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    It is not possible, in the database is this string not realy possible. You must replace with the same string maybe with \n below a tag. Search for <div class="box50"> and see in the result, how is the string inside the database and then you can replace.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.