# How do you use remap to insert a newline?

**URL:** <https://meta.discourse.org/t/how-do-you-use-remap-to-insert-a-newline/100531>\
**Category:** Product Support\
**Created:** [26.Октябрь.2018 09:29:26 UTC](https://meta.discourse.org/t/how-do-you-use-remap-to-insert-a-newline/100531 "2018-10-26T09:29:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lxk](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lxk](https://meta.discourse.org/u/lxk)\
**Post date:** [26.Октябрь.2018 16:09:23 UTC](https://meta.discourse.org/t/how-do-you-use-remap-to-insert-a-newline/100531/4 "2018-10-26T16:09:23Z")

</div>

I needed both `\r\n` not just `\n`

Ended up using the database instead of remap

`update posts set raw = replace(raw, '.jpghttp', '.jpg\r\nhttp');`

---

_[View the full topic](https://meta.discourse.org/t/how-do-you-use-remap-to-insert-a-newline/100531)._
