Title: Adding \n (newlines) in replace string
Last modified: June 5, 2019

---

# Adding \n (newlines) in replace string

 *  [Aharon](https://wordpress.org/support/users/spaceling/)
 * (@spaceling)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-n-newlines-in-replace-string/)
 * I’m trying to replace a string `</tr><tr>` with `</tr>\n\n\n<tr>` and I am having
   a great deal of difficulty figuring out a method to add the new lines between
   the tags.
 * Is there a way to add newline characters in a replace string with this plugin?
 * Thank you!

The topic ‘Adding \n (newlines) in replace string’ is closed to new replies.

 * ![](https://ps.w.org/better-search-replace/assets/icon-256x256.png?rev=2706527)
 * [Better Search Replace](https://wordpress.org/plugins/better-search-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-search-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-search-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/better-search-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-search-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-search-replace/reviews/)

## Tags

 * [new line](https://wordpress.org/support/topic-tag/new-line/)
 * [newlines](https://wordpress.org/support/topic-tag/newlines/)

 * 0 replies
 * 1 participant
 * Last reply from: [Aharon](https://wordpress.org/support/users/spaceling/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/adding-n-newlines-in-replace-string/)
 * Status: not resolved