Monday, August 17, 2009

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

\1\r\n\2 -- \1 is the first group, \r\n is a carriage return and a new
line, \2 is the second group.

1 comment:

Unknown said...

Very useful article about Absolute great. Thanks.
Online Business Directory