How to find and delete all the line breaks? I tried \n and it doesn't work! Regular expression? what kinda of expression?
Open any text file and click on the pilcrow (¶) button. Notepad++ will show all of the characters with newline characters in either the CR and LF format. If it is a Windows EOL encoded file, the newline characters of CR LF will appear (\r\n). If the file is UNIX or Mac EOL encoded, then it will only show LF (\n).
The end of a line of text in electronic form. Also called "EOL" (end-of-line), "newline," and "hard return," a line break code is generated when the Enter key is pressed, When typing a command on a command line, pressing Enter executes the command.
I found the answer in the TextMate IRC channel.
Press Option Return
to search for literal line breaks in the Find and Replace panel.
Searching for \n
works if you select the "Regular Expression" option, but won't work in the literal search mode.
Without regex (regular search):
Alt + ⏎
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With