Forum Academy Marketplace Showcase Pricing Features

How to replace a new line in a multiline input with "\n"?

I want to replace every new line with a backslash + “n” (i.e. “\n”). I’m doing this because I’m sending the text to an API and the API seems to only accept \n and not actual new lines.

I tried to find and replace “\n”. It doesn’t work (i.e. doesn’t find anything).

Hey @jayy,

Hmm can you just skip a line in find & replace or is that not possible?

1 Like

Thanks Johnny! Sheesh that works - didn’t even think of that. I feel so stupid :joy: