Title: Multiple line search &amp; replace?
Last modified: August 20, 2016

---

# Multiple line search & replace?

 *  Resolved [Wow Digital](https://wordpress.org/support/users/dmpp/)
 * (@dmpp)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/multiple-line-search-replace/)
 * 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/](http://wordpress.org/extend/plugins/search-and-replace/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-line-search-replace/#post-3342007)
 * 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.

Viewing 1 replies (of 1 total)

The topic ‘Multiple line search & replace?’ is closed to new replies.

 * ![](https://ps.w.org/search-and-replace/assets/icon-256x256.png?rev=1776844)
 * [Search & Replace](https://wordpress.org/plugins/search-and-replace/)
 * [Support Threads](https://wordpress.org/support/plugin/search-and-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/search-and-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-and-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-and-replace/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-line-search-replace/#post-3342007)
 * Status: resolved