Title: Using Multiple Lines in CSV Format Search/Replace Doesn&#8217;t Work?
Last modified: October 9, 2019

---

# Using Multiple Lines in CSV Format Search/Replace Doesn’t Work?

 *  [andyrcwrcm](https://wordpress.org/support/users/andyrcwrcm/)
 * (@andyrcwrcm)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/using-multiple-lines-in-csv-format-search-replace-doesnt-work/)
 * Hello,
 * – On the Search & Replace tab I tried using multiple lines in the CSV Format 
   Search/Replace field (i.e., “Using comma delimited( , ). For example to replace
   cat with dog: cat,dog”) but this didn’t work except when using only one line.
   Is there something wrong with the format below?:
 * blog/old-slug-1/,blog/new-slug-1/
    blog/old-slug-2/,blog/new-slug-2/ blog/old-
   slug-3/,blog/new-slug-3/ blog/old-slug-4/,blog/new-slug-4/ blog/old-slug-5/,blog/
   new-slug-5/
 * – When doing a dry run or writing the changes to the database only the last line
   is updated. For lines 1 to n where n is the final line and with two or more lines,
   only n is updating.
 * I instead did this one at a time which was incredibly tedious.
 * Thanks,
 * Andy

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jackleahy](https://wordpress.org/support/users/jackleahy/)
 * (@jackleahy)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-multiple-lines-in-csv-format-search-replace-doesnt-work/#post-12060079)
 * I am having the exact same issue. Did you end up figuring out how to fix it?
 * Because I am going to have to do over 250 URL replaces, one by one otherwise.
 * [@bueltge](https://wordpress.org/support/users/bueltge/)
 *  Thread Starter [andyrcwrcm](https://wordpress.org/support/users/andyrcwrcm/)
 * (@andyrcwrcm)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-multiple-lines-in-csv-format-search-replace-doesnt-work/#post-12061178)
 * Hi Jack,
 * – Not yet. Let me try reaching out to Inpsyde GmbH with a link to this thread.
 * – In the meantime for 250 URLs you might want to try asking your developer or
   hiring a freelance developer to write and execute a script in an FTP program 
   like FileZilla which would be a lot quicker than doing it manually.
 * Andy

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using Multiple Lines in CSV Format Search/Replace Doesn’t Work?’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [andyrcwrcm](https://wordpress.org/support/users/andyrcwrcm/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/using-multiple-lines-in-csv-format-search-replace-doesnt-work/#post-12061178)
 * Status: not resolved