WordPress.org

Forums

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

  1. dmpp
    Member
    Posted 3 years 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 Bueltge
    Member
    Plugin Author

    Posted 3 years 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

  • Search & Replace
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.