notepad++ insert carriage return

In notepad++ you can easily find a carriage return by copying a section of texxt with a carriage return in it and doing ctrl+f or ctrl+h to replace, but you cannot copy that block and paste into the replace box. I found the answer for this here:

In the replace area, type

1rn2 — 1 is the first group, rn is a carriage return and a new
line, 2 is the second group.

Leave Comment